Update project from template #892
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "main" | |
on: ["push", "workflow_dispatch"] | |
jobs: | |
pyright: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "blakeNaccarato/[email protected]" | |
with: | |
python-version: "3.11" | |
- run: | | |
pyright | |
nbqa pyright src tests | |
ruff: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "blakeNaccarato/[email protected]" | |
with: | |
python-version: "3.11" | |
- run: "ruff --no-fix --output-format github ." | |
pytest: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "blakeNaccarato/[email protected]" | |
with: | |
python-version: "3.11" | |
- run: "pytest --cov" | |
- uses: "codecov/[email protected]" | |
bump_project: | |
needs: ["pyright", "ruff", "pytest"] | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "blakeNaccarato/[email protected]" | |
with: | |
python-version: "3.11" | |
install-project: false | |
- uses: "stefanzweifel/[email protected]" | |
with: | |
commit_message: "Update project." |