diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b4e131..22df648 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/publish_to_pypi.yml b/.github/workflows/publish_to_pypi.yml index 28fd471..fcc40eb 100644 --- a/.github/workflows/publish_to_pypi.yml +++ b/.github/workflows/publish_to_pypi.yml @@ -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: @@ -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: diff --git a/tox.ini b/tox.ini index eddcac8..e593d7e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] isolated_build = True envlist = - py{39,311} + py3{9,10,11} check-{style,security} pep517 #test{,-oldestdeps,-devdeps}