Formatting edits in progress #185
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: Covasim CI workflow | |
| on: [pull_request] | |
| jobs: | |
| install_and_test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| strategy: | |
| fail-fast: false | |
| max-parallel: 8 | |
| matrix: | |
| python-version: ['3.13'] | |
| name: Run tests | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v2 | |
| - uses: actions/setup-python@master | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| architecture: x64 | |
| - name: Install Covasim | |
| run: pip install -e .[test] | |
| - name: Run integration tests | |
| working-directory: ./tests | |
| run: pytest -v test_*.py unittests/test_*.py -n auto --durations=0 --junitxml=test-results.xml | |
| - name: Publish test Results | |
| uses: EnricoMi/publish-unit-test-result-action@v2 | |
| if: always() | |
| with: | |
| junit_files: tests/test-results.xml |