Add benchmark committee members #177
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: WebUI Integration workflow | |
| on: pull_request | |
| jobs: | |
| setup: | |
| name: webui-integration-test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| working-directory: . | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e cli/ | |
| pip install -r cli/test-requirements.txt | |
| pip install -r server/requirements.txt | |
| pip install -r server/test-requirements.txt | |
| - name: Set server environment vars | |
| working-directory: ./server | |
| run: cp .env.local.local-auth .env | |
| - name: Run postgresql server in background | |
| working-directory: ./server | |
| run: sh run_dev_postgresql.sh && sleep 6 | |
| - name: Run django server in background with generated certs | |
| working-directory: ./server | |
| run: sh setup-dev-server.sh & sleep 6 | |
| - name: Reset and seed database with tutorial data | |
| working-directory: ./server | |
| run: sh reset_db.sh && python seed.py --demo tutorial | |
| - name: Set up tutorial files | |
| working-directory: . | |
| run: bash tutorials_scripts/setup_webui_tutorial.sh | |
| - name: Run fastapi server in background | |
| working-directory: . | |
| run: medperf_webui & sleep 6 | |
| - name: Run webUI tutorial E2E tests with pytest | |
| working-directory: ./cli/medperf/web_ui/tests/e2e/ | |
| run: pytest |