Skip to content

Commit b2a9cef

Browse files
author
Zoran Simic
committed
Use deadsnakes to continue testing py3.7 for a while longer
1 parent ef9785a commit b2a9cef

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

.github/workflows/tests.yml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,37 @@ jobs:
4040
flag-name: python-${{ matrix.python-version }}
4141
parallel: true
4242

43+
test-eol:
44+
name: Test py${{ matrix.python-version }} (EOL)
45+
runs-on: ubuntu-latest
46+
47+
strategy:
48+
matrix:
49+
python-version: ["3.7"] # Only one ancient python needed for test coverage...
50+
51+
steps:
52+
- uses: actions/checkout@v6
53+
- uses: deadsnakes/action@v3.2.0
54+
with:
55+
python-version: ${{ matrix.python-version }}
56+
57+
- name: Configure git
58+
run: |
59+
git config --global user.name "GH-actions-bot"
60+
git config --global user.email "gh-actions-bot@noreply.github.com"
61+
62+
- uses: astral-sh/setup-uv@v7
63+
- run: uvx --with tox-uv tox -e py
64+
65+
- uses: coverallsapp/github-action@v2
66+
with:
67+
file: .tox/test-reports/coverage.xml
68+
flag-name: python-${{ matrix.python-version }}
69+
parallel: true
70+
4371
coveralls-finish:
4472
name: Finish Coveralls
45-
needs: test
73+
needs: [test, test-eol]
4674
runs-on: ubuntu-latest
4775
steps:
4876
- name: Finish parallel build

0 commit comments

Comments
 (0)