Skip to content

Commit

Permalink
Python 3.7 no longer works on ubuntu-24.04.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Jan 13, 2025
1 parent 9074d1c commit 098c8d2
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions .github/workflows/nox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
matrix:
include:
- session: test
python-versions: "3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13"
other-args: "-p 3.7 3.8 3.9 3.10 3.11 3.12 3.13"
python-versions: "3.8, 3.9, 3.10, 3.11, 3.12, 3.13"
other-args: "-p 3.8 3.9 3.10 3.11 3.12 3.13"
codecov: true
packages: ""

Expand Down Expand Up @@ -79,9 +79,41 @@ jobs:
working-directory: antsibull-docs-parser
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
nox-test-37:
# python3.7 is not available on ubuntu-latest
runs-on: ubuntu-22.04
name: "Run nox test session"
steps:
- name: Check out antsibull-docs-parser
uses: actions/checkout@v4
with:
path: antsibull-docs-parser
persist-credentials: false
- name: Setup nox
uses: wntrblm/[email protected]
with:
python-versions: "3.7"
- name: Set up nox environments
run: |
nox -v -e "test" -p 3.7 --install-only
nox -v -e coverage --install-only
- name: "Run nox -e test -p 3.7"
run: |
nox -v -e "test" -p 3.7 --reuse-existing-virtualenvs --no-install
- name: Report coverage
run: |
nox -v -e coverage --reuse-existing-virtualenvs --no-install
- name: Upload coverage
uses: codecov/codecov-action@v5
with:
name: "test"
working-directory: antsibull-docs-parser
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
nox-test-36:
# python3.6 is not available on ubuntu-latest
runs-on: ubuntu-20.04
name: "Run nox test session"
defaults:
run:
working-directory: antsibull-docs-parser
Expand Down

0 comments on commit 098c8d2

Please sign in to comment.