Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 23 additions & 12 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
name: "are correctly generated"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: pip install nox

- run: nox -s generate
Expand All @@ -23,23 +23,34 @@ jobs:
name: "work as advertised"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: pip install nox

# Install supported Python versions
- uses: actions/setup-python@v4
# Install supported Python versions. Keep in sync with noxfile.py as
# much as possible, however, GitHub Actions eventually drops support
# for EOL Python versions, at which point we can't test them in CI.
- uses: actions/setup-python@v5
with:
python-version: 3.7
- uses: actions/setup-python@v4
python-version: "3.7"
- uses: actions/setup-python@v5
with:
python-version: 3.8
- uses: actions/setup-python@v4
python-version: "3.8"
- uses: actions/setup-python@v5
with:
python-version: 3.9
- uses: actions/setup-python@v4
python-version: "3.9"
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- uses: actions/setup-python@v5
with:
python-version: "3.13-dev"

# Check that the scripts work.
- run: nox -s check --no-error-on-missing-interpreters
17 changes: 16 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,22 @@

# Keep versions in sync with .github/workflows/check.yml
@nox.session(
python=["2.6", "2.7", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
python=[
"2.6",
"2.7",
"3.2",
"3.3",
"3.4",
"3.5",
"3.6",
"3.7",
"3.8",
"3.9",
"3.10",
"3.11",
"3.12",
"3.13",
]
)
def check(session):
"""Ensure that get-pip.py for various Python versions, works on that version."""
Expand Down