Skip to content

Merge pull request #220 from pypa/release/24.2 #230

Merge pull request #220 from pypa/release/24.2

Merge pull request #220 from pypa/release/24.2 #230

Workflow file for this run

name: Check Scripts
on:
push:
branches:
- main
pull_request:
jobs:
correctly-generated:
name: "are correctly generated"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: pip install nox
- run: nox -s generate
- name: Check regenerated scripts vs what is generated by automation.
run: git diff --exit-code
work-as-advertised:
name: "work as advertised"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: pip install nox
# 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@v5
with:
python-version: "3.8"
- uses: actions/setup-python@v5
with:
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