Update requirement versions #27
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: Run tests | |
| on: push | |
| jobs: | |
| run-tests: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.9"] | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| steps: | |
| - name: Cancel Workflow Action | |
| uses: styfle/[email protected] | |
| with: | |
| access_token: ${{ github.token }} | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install test requirements and extension | |
| run: | | |
| python -m pip install -r requirements.txt -r requirements-dev.txt | |
| python -m pip install -e . | |
| - name: Run tests | |
| run: | | |
| python -m pytest -rP # env vars are set within certain tests |