added matrix
This commit is contained in:
@@ -32,11 +32,14 @@ jobs:
|
|||||||
name: Test Installation from TestPyPI
|
name: Test Installation from TestPyPI
|
||||||
needs: Build-and-publish-to-Test-PyPI
|
needs: Build-and-publish-to-Test-PyPI
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
python-version: [3.9, 3.10, 3.11, 3.12]
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Python
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.x"
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Install package
|
- name: Install package
|
||||||
run: |
|
run: |
|
||||||
which python3
|
which python3
|
||||||
@@ -44,6 +47,7 @@ jobs:
|
|||||||
python3 -m pip install setuptools
|
python3 -m pip install setuptools
|
||||||
python3 -m pip install --index-url https://test.pypi.org/simple/ scraibe
|
python3 -m pip install --index-url https://test.pypi.org/simple/ scraibe
|
||||||
|
|
||||||
|
|
||||||
# publish-to-pypi:
|
# publish-to-pypi:
|
||||||
# name: Conditional Publish to PyPI or Dev Repository
|
# name: Conditional Publish to PyPI or Dev Repository
|
||||||
# needs: [build, test-install]
|
# needs: [build, test-install]
|
||||||
|
|||||||
Reference in New Issue
Block a user