From 288cd4955160094c044ba4c9fa9ba2b6cde3374f Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 21 Oct 2024 14:44:53 -0400 Subject: [PATCH] ci: fix for virtualenv dropping 3.7 Signed-off-by: Henry Schreiner --- .github/workflows/tests.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 235aee1..5742303 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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