Update README.md #49
Workflow file for this run
This file contains 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: Synthpops CI workflow | |
on: [pull_request] | |
jobs: | |
install_and_test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
max-parallel: 8 | |
matrix: | |
python-version: [ '3.8' ] | |
name: Install and test | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v1 | |
- uses: actions/setup-python@master | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Install synthpops | |
run: pip install -e . | |
- name: Install tests | |
run: pip install -r tests/requirements_test.txt | |
- name: Run API tests | |
working-directory: ./tests | |
run: pytest --cov-config=.coveragerc --cov=../synthpops --junitxml=test-results.xml --workers auto --durations=0 |