diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index c8298da..1c55f95 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -32,11 +32,14 @@ jobs: name: Test Installation from TestPyPI needs: Build-and-publish-to-Test-PyPI runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.9, 3.10, 3.11, 3.12] steps: - - name: Set up Python + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: - python-version: "3.x" + python-version: ${{ matrix.python-version }} - name: Install package run: | which python3 @@ -44,6 +47,7 @@ jobs: python3 -m pip install setuptools python3 -m pip install --index-url https://test.pypi.org/simple/ scraibe + # publish-to-pypi: # name: Conditional Publish to PyPI or Dev Repository # needs: [build, test-install]