put credentials in file in action #13
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| workflow_dispatch: | |
| jobs: | |
| lint: | |
| name: "Python Lint" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v5 | |
| - name: "Set up Python" | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version-file: .python-version | |
| - name: "Install uv" | |
| uses: astral-sh/setup-uv@v6 | |
| - name: "Ruff check" | |
| run: uv run ruff check | |
| - name: "Ruff format check" | |
| run: uv run ruff format --check | |
| test: | |
| name: "Python Unit Tests" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v5 | |
| - name: "Set up Python" | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version-file: .python-version | |
| - name: "Install uv" | |
| uses: astral-sh/setup-uv@v6 | |
| - name: "Pytest" | |
| working-directory: src | |
| run: uv run pytest --cov=. --cov-fail-under=96 |