Skip to content

Commit

Permalink
Add test-python workflow job
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba2k2 committed Oct 12, 2024
1 parent 397fc77 commit d52371c
Show file tree
Hide file tree
Showing 4 changed files with 251 additions and 154 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/push-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Push (dev), Pull Request
on:
push:
branches: ["**"]
pull_request:
jobs:
lint-python:
name: Run Python lint
uses: kuba2k2/kuba2k2/.github/workflows/lint-python.yml@master
test-python:
name: Run Python tests
uses: kuba2k2/kuba2k2/.github/workflows/test-python.yml@master
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ jobs:
lint-python:
name: Run Python lint
uses: kuba2k2/kuba2k2/.github/workflows/lint-python.yml@master
test-python:
name: Run Python tests
uses: kuba2k2/kuba2k2/.github/workflows/test-python.yml@master
publish-pypi:
name: Publish PyPI package
needs:
- lint-python
- test-python
uses: kuba2k2/kuba2k2/.github/workflows/publish-pypi.yml@master
secrets:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
Loading

0 comments on commit d52371c

Please sign in to comment.