Skip to content

Commit

Permalink
add python310 to tox envs and ci
Browse files Browse the repository at this point in the history
  • Loading branch information
alphasentaurii committed Apr 4, 2024
1 parent 0018bf9 commit 7e8f2e9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ jobs:
- name: python 3.9
toxenv: py39
python-version: 3.9

- name: python 3.10
toxenv: py310
python-version: '3.10'

- name: python 3.11
toxenv: py311
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ jobs:

publish_testpypi:
needs: [ build_artifacts ]
if: ${{ inputs.test == 'true' }}
runs-on: ubuntu-latest
permissions:
id-token: write
if: ${{ inputs.test }}
steps:
- uses: actions/download-artifact@v4
with:
Expand All @@ -65,10 +65,10 @@ jobs:

publish_pypi:
needs: [ build_artifacts ]
if: ${{ inputs.test == 'false' }}
runs-on: ubuntu-latest
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
if: ${{ inputs.test == 'false' }}
steps:
- uses: actions/download-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
isolated_build = True
envlist =
py{39,311}
py3{9,10,11}
check-{style,security}
pep517
#test{,-oldestdeps,-devdeps}
Expand Down

0 comments on commit 7e8f2e9

Please sign in to comment.