Skip to content

Commit

Permalink
🔧 chore(ci): Update Python version in CI workflows (jobs)
Browse files Browse the repository at this point in the history
  • Loading branch information
hotenov committed Aug 11, 2024
1 parent 114940b commit 56895c8
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"

- name: Upgrade pip
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"

- name: Upgrade pip
run: |
Expand Down
31 changes: 14 additions & 17 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,19 @@ jobs:
fail-fast: false
matrix:
include:
# - { python: "3.10", os: ubuntu-latest, session: "pre-commit" }
# - { python: "3.10", os: ubuntu-latest, session: "safety" }
# - { python: "3.10", os: ubuntu-latest, session: "mypy" }
# - { python: "3.9", os: ubuntu-latest, session: "mypy" }
# - { python: "3.8", os: ubuntu-latest, session: "mypy" }
- { python: "3.10", os: ubuntu-latest, session: "tests" }
- { python: "3.9", os: ubuntu-latest, session: "tests" }
- { python: "3.8", os: ubuntu-latest, session: "tests" }
- { python: "3.10", os: windows-latest, session: "tests" }
- { python: "3.9", os: windows-latest, session: "tests" }
- { python: "3.10", os: macos-latest, session: "tests" }
- { python: "3.9", os: macos-latest, session: "tests" }
- { python: "3.10", os: ubuntu-latest, session: "typeguard" }
- { python: "3.9", os: ubuntu-latest, session: "typeguard" }
- { python: "3.10", os: ubuntu-latest, session: "xdoctest" }
- { python: "3.10", os: ubuntu-latest, session: "docs-build" }
- { python: "3.11", os: ubuntu-latest, session: "pre-commit" }
- { python: "3.11", os: ubuntu-latest, session: "safety" }
- { python: "3.11", os: ubuntu-latest, session: "mypy" }
- { python: "3.12", os: ubuntu-latest, session: "mypy" }
- { python: "3.11", os: ubuntu-latest, session: "tests" }
- { python: "3.12", os: ubuntu-latest, session: "tests" }
- { python: "3.11", os: windows-latest, session: "tests" }
- { python: "3.11", os: macos-latest, session: "tests" }
- { python: "3.12", os: macos-latest, session: "tests" }
- { python: "3.11", os: ubuntu-latest, session: "typeguard" }
# - { python: "3.12", os: ubuntu-latest, session: "typeguard" }
- { python: "3.11", os: ubuntu-latest, session: "xdoctest" }
- { python: "3.11", os: ubuntu-latest, session: "docs-build" }

env:
NOXSESSION: ${{ matrix.session }}
Expand Down Expand Up @@ -121,7 +118,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"

- name: Upgrade pip
run: |
Expand Down

0 comments on commit 56895c8

Please sign in to comment.