Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils committed May 18, 2024
1 parent fde455d commit b24e04e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:

jobs:
lint:
uses: mhils/workflows/.github/workflows/python-tox.yml@main
uses: mhils/workflows/.github/workflows/python-tox.yml@v5
with:
cmd: tox -e lint

Expand All @@ -42,27 +42,29 @@ jobs:
py: 3.9.18
- os: ubuntu-latest
py: 3.8.18
uses: mhils/workflows/.github/workflows/python-tox.yml@main
uses: mhils/workflows/.github/workflows/python-tox.yml@v5
with:
cmd: tox -e py -- -vvv ${{ matrix.args }}
os: ${{ matrix.os }}
python-version: ${{ matrix.py }}

build:
uses: mhils/workflows/.github/workflows/python-build.yml@main
uses: mhils/workflows/.github/workflows/python-build.yml@v5

check:
if: always()
needs:
- lint
- test
- build
uses: mhils/workflows/.github/workflows/alls-green.yml@main
uses: mhils/workflows/.github/workflows/alls-green.yml@v5
with:
jobs: ${{ toJSON(needs) }}

deploy:
uses: mhils/workflows/.github/workflows/python-deploy.yml@main
uses: mhils/workflows/.github/workflows/python-deploy.yml@v5
with:
artifact-name: wheels
needs: check
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
secrets:
Expand Down

0 comments on commit b24e04e

Please sign in to comment.