Skip to content

Commit

Permalink
fix pypi workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
exs-whaddadin committed Dec 8, 2023
1 parent 454a7d2 commit 2f5414b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pinned-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- name: Checkout repo
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/publish-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:

jobs:
publish-package:
environment: pypi-publish
runs-on: ubuntu-latest
steps:
- name: Checkout repo
Expand All @@ -19,6 +20,8 @@ jobs:
pip install nox
nox -s dist_build-3.11
- name: Deploy package
env:
EXS_PYPI_TOKEN: ${{ secrets.EXS_PYPI_TOKEN }}
run: |
pip install twine
python -m twine upload --verbose -u __token__ -p ${{ secrets.EXS_PYPI_TOKEN }} dist/*
python -m twine upload --verbose -u __token__ -p $EXS_PYPI_TOKEN dist/*
2 changes: 1 addition & 1 deletion .github/workflows/quality-typing-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- name: Checkout repo
Expand Down
19 changes: 10 additions & 9 deletions .github/workflows/release-ci-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ on:
- '*.*.*'

jobs:
quality-checks:
uses: ./.github/workflows/quality-typing-checks.yaml
test-run-pinned:
uses: ./.github/workflows/pinned-tests.yaml
needs: [ quality-checks ]
docs-build-deploy:
uses: ./.github/workflows/docs-build-deploy.yaml
needs: [ test-run-pinned ]
# quality-checks:
# uses: ./.github/workflows/quality-typing-checks.yaml
# test-run-pinned:
# uses: ./.github/workflows/pinned-tests.yaml
# needs: [ quality-checks ]
# docs-build-deploy:
# uses: ./.github/workflows/docs-build-deploy.yaml
# needs: [ test-run-pinned ]
publish-package:
uses: ./.github/workflows/publish-package.yaml
needs: [ docs-build-deploy ]
secrets: inherit
# needs: [ docs-build-deploy ]

0 comments on commit 2f5414b

Please sign in to comment.