Skip to content

Commit

Permalink
correctly use python 3.10 for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
picciama committed Oct 16, 2024
1 parent 6224f58 commit 5f9b762
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
fail-fast: false
matrix:
include:
- { python-version: 3.10, os: ubuntu-latest, session: "pre-commit" }
- { python-version: 3.10, os: ubuntu-latest, session: "safety" }
- { python-version: 3.10, os: ubuntu-latest, session: "mypy" }
- { python-version: 3.10, os: ubuntu-latest, session: "tests" }
- { python-version: 3.10, os: windows-latest, session: "tests" }
- { python-version: 3.10, os: macos-latest, session: "tests" }
- { python-version: 3.10, os: ubuntu-latest, session: "typeguard" }
- { python-version: 3.10, os: ubuntu-latest, session: "xdoctest" }
- { python-version: 3.10, os: ubuntu-latest, session: "docs-build" }
- { python-version: "3.10", os: ubuntu-latest, session: "pre-commit" }
- { python-version: "3.10", os: ubuntu-latest, session: "safety" }
- { python-version: "3.10", os: ubuntu-latest, session: "mypy" }
- { python-version: "3.10", os: ubuntu-latest, session: "tests" }
- { python-version: "3.10", os: windows-latest, session: "tests" }
- { python-version: "3.10", os: macos-latest, session: "tests" }
- { python-version: "3.10", os: ubuntu-latest, session: "typeguard" }
- { python-version: "3.10", os: ubuntu-latest, session: "xdoctest" }
- { python-version: "3.10", os: ubuntu-latest, session: "docs-build" }

env:
NOXSESSION: ${{ matrix.session }}
Expand Down
5 changes: 2 additions & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.11"
python: "3.10"
# You can also specify other tool versions:
# nodejs: "19"
# rust: "1.64"
Expand All @@ -20,8 +20,7 @@ sphinx:
configuration: docs/conf.py

# Optionally build your docs in additional formats such as PDF and ePub
formats:
- all
formats: all

# Optional but recommended, declare the Python requirements required
# to build your documentation
Expand Down

0 comments on commit 5f9b762

Please sign in to comment.