Skip to content

Commit

Permalink
Merge pull request #41 from Leggin/add-newer-python-versions-to-actions
Browse files Browse the repository at this point in the history
update action to newer python versions
  • Loading branch information
Leggin authored Jan 6, 2024
2 parents 972abcd + 990685a commit dc0cbe1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand All @@ -30,6 +30,7 @@ jobs:
python -m pip install --upgrade pip
pip install pylint pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ ${{ matrix.python-version }} == "3.12" ]; then pip install setuptools; fi
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
Expand All @@ -42,10 +43,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.11"
python-version: "3.12"
- name: Install dependencies
run: |
python -m venv venv
Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
python_version = 3.11
exclude = build
disallow_untyped_defs = True
python_executable = venv/bin/python3.11
python_executable = venv/bin/python3.12
follow_imports = silent
plugins = pydantic.mypy

0 comments on commit dc0cbe1

Please sign in to comment.