Skip to content

Commit

Permalink
remove matrix from publish-package
Browse files Browse the repository at this point in the history
  • Loading branch information
zbloss committed Aug 1, 2023
1 parent 590e69a commit 1a701fb
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
@@ -9,21 +9,17 @@ jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9"]
environment:
name: "pypi"
url: https://pypi.org/p/npc-gzip
name: release
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: "3.9"

- name: Install Poetry
run: |
@@ -33,14 +29,14 @@ jobs:
- name: Run Tests
run: |
poetry install
poetry run pytest --junit-xml=junit/test-results-${{ matrix.python-version }}.xml
poetry run pytest --junit-xml=junit/test-results-3.9.xml
- name: Upload pytest test results
if: ${{ !cancelled() }} # Upload results even if tests fail.
uses: actions/upload-artifact@v3
with:
name: pytest-results-${{ matrix.python-version }}
path: junit/test-results-${{ matrix.python-version }}.xml
name: pytest-results-3.9
path: junit/test-results-3.9.xml

- name: Poetry Build
run: |

0 comments on commit 1a701fb

Please sign in to comment.