-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Use Python 3.11 as the default Python version in CI jobs
- Loading branch information
1 parent
669553e
commit b263617
Showing
7 changed files
with
22 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,7 @@ body: | |
- "3.8" | ||
- "3.9" | ||
- "3.10" | ||
- "3.11" | ||
- "NA" | ||
validations: | ||
required: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
- name: Check out the repository | ||
uses: actions/[email protected] | ||
|
||
- name: Setup Python 3.11 | ||
- name: Setup Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: 3.11 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ jobs: | |
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.10" | ||
python-version: "3.11" | ||
|
||
- name: Upgrade pip | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,8 +50,8 @@ jobs: | |
sqlalchemy: ["2.*"] | ||
include: | ||
- { session: tests, python-version: "3.11", os: "ubuntu-latest", sqlalchemy: "1.*" } | ||
- { session: doctest, python-version: "3.10", os: "ubuntu-latest", sqlalchemy: "2.*" } | ||
- { session: mypy, python-version: "3.8", os: "ubuntu-latest", sqlalchemy: "2.*" } | ||
- { session: doctest, python-version: "3.11", os: "ubuntu-latest", sqlalchemy: "2.*" } | ||
- { session: mypy, python-version: "3.11", os: "ubuntu-latest", sqlalchemy: "2.*" } | ||
|
||
steps: | ||
- name: Check out the repository | ||
|
@@ -107,6 +107,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
if: ${{ !github.event.pull_request.head.repo.fork }} | ||
env: | ||
NOXPYTHON: "3.11" | ||
NOXSESSION: tests | ||
SAMPLE_TAP_GITLAB_AUTH_TOKEN: ${{ secrets.SAMPLE_TAP_GITLAB_AUTH_TOKEN }} | ||
SAMPLE_TAP_GITLAB_GROUP_IDS: ${{ secrets.SAMPLE_TAP_GITLAB_GROUP_IDS }} | ||
SAMPLE_TAP_GITLAB_PROJECT_IDS: ${{ secrets.SAMPLE_TAP_GITLAB_PROJECT_IDS }} | ||
|
@@ -128,10 +130,10 @@ jobs: | |
poetry --version | ||
poetry self show plugins | ||
- name: Setup Python 3.10 | ||
- name: Setup Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.10' | ||
python-version: ${{ env.NOXPYTHON }} | ||
architecture: x64 | ||
cache: 'pip' | ||
cache-dependency-path: 'poetry.lock' | ||
|
@@ -153,7 +155,7 @@ jobs: | |
- name: Run Nox | ||
run: | | ||
nox -s tests -p 3.10 -- -m "external" | ||
nox -- -m "external" | ||
coverage: | ||
name: Coverage | ||
|
@@ -175,7 +177,7 @@ jobs: | |
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.10' | ||
python-version: '3.11' | ||
cache: 'pip' | ||
cache-dependency-path: 'poetry.lock' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ jobs: | |
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: "3.10" | ||
python-version: "3.11" | ||
architecture: x64 | ||
|
||
- name: Bump version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters