Replace unittest assert with pytest asserts #36
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: Integration tests | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| run-integration-tests: | |
| name: Run Integration Tests | |
| runs-on: ubuntu-latest | |
| env: | |
| CHROME_BIN_PATH: /usr/bin/chromium | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: | | |
| pip install -r requirements.txt | |
| - name: Download and install latest Chromium | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y chromium | |
| - name: Run integration tests | |
| run: | | |
| python -m pytest -q process_report/tests/integration |