Skip to content

Commit

Permalink
Use default latest Python for extra sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Oct 17, 2024
1 parent eedde87 commit 39c784e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
runs-on: ${{ matrix.os }}
continue-on-error: true
env:
NOXPYTHON: ${{ matrix.python-version }}
NOXSESSION: ${{ matrix.session }}
strategy:
fail-fast: false
Expand All @@ -57,17 +56,18 @@ jobs:
- "3.13"
sqlalchemy: ["2"]
include:
- { session: tests, python-version: "3.13", os: "ubuntu-latest", sqlalchemy: "1" }
- { session: doctest, python-version: "3.13", os: "ubuntu-latest", sqlalchemy: "2" }
- { session: mypy, python-version: "3.12", os: "ubuntu-latest", sqlalchemy: "2" }
- { session: deps, python-version: "3.12", os: "ubuntu-latest", sqlalchemy: "2" }
- { session: tests, python-version: "3.x", os: "ubuntu-latest", sqlalchemy: "1" }
- { session: doctest, python-version: "3.x", os: "ubuntu-latest", sqlalchemy: "2" }
- { session: mypy, python-version: "3.x", os: "ubuntu-latest", sqlalchemy: "2" }
- { session: deps, python-version: "3.x", os: "ubuntu-latest", sqlalchemy: "2" }

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-python@v5
id: setup-python
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
Expand All @@ -94,6 +94,7 @@ jobs:

- name: Run Nox
env:
NOXPYTHON: ${{ steps.setup-python.outputs.python-version }}
SQLALCHEMY_VERSION: ${{ matrix.sqlalchemy }}
PIP_PRE: "1"
UV_PRERELEASE: allow
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"3.9",
"3.8",
]
main_python_version = "3.12"
main_python_version = "3.13"
locations = "singer_sdk", "tests", "noxfile.py", "docs/conf.py"
nox.options.sessions = (
"mypy",
Expand Down

0 comments on commit 39c784e

Please sign in to comment.