Skip to content

Commit

Permalink
ci: fix for virtualenv dropping 3.7
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed Oct 21, 2024
1 parent aa6b503 commit 87b90e8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,15 @@ jobs:
python-version: ${{ matrix.python }}
allow-prereleases: true

- name: Prepare nox
run: pipx install nox

- name: Limit virtualenv on 3.7
if: matrix.python == '3.7'
run: pipx inject --force nox 'virtualenv<20.27.0'

- name: Run tests
run: pipx run nox -s test-${{ matrix.python }}
run: nox -s test-${{ matrix.python }}

- name: Send coverage report
uses: codecov/codecov-action@v4
Expand Down

0 comments on commit 87b90e8

Please sign in to comment.