Skip to content

Commit

Permalink
Python 3.13 test run
Browse files Browse the repository at this point in the history
  • Loading branch information
digitronik committed Jan 20, 2025
1 parent db5b3c8 commit 216598f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: hynek/build-and-inspect-python-package@v1
- uses: hynek/build-and-inspect-python-package@v2

test:
runs-on: ubuntu-latest
needs: [dist]
strategy:
matrix:
# todo: extract from source
python-version: [3.8, 3.9, '3.10', '3.11', '3.12']
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
install-from: ["dist/*.whl"]
steps:
- uses: actions/checkout@v4
Expand All @@ -37,13 +37,13 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}
- name: Install pytest
run: pip install pytest
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: Packages
path: dist
Expand All @@ -59,7 +59,7 @@ jobs:
if: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') }}
needs: [test]
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: Packages
path: dist
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Utilities",

]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{38,39,310,311},mypy
envlist = py{38,39,310,311,312,313},mypy
build_isolation = true

[testenv]
Expand Down

0 comments on commit 216598f

Please sign in to comment.