chore(deps): update pypa/gh-action-pypi-publish digest to ed0c539 - autoclosed #481
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: Tests | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "**/*.py" | |
| - "pyproject.toml" | |
| - "poetry.lock" | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| python: | |
| name: Python - Lint, Typecheck, Test | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 | |
| - name: Setup Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@3d1e2d2ca0a067f27da6fec484fce7f5256def85 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install Poetry | |
| uses: abatilo/actions-poetry@b8f6fe29ba2eb78e0d45ccbf41cd14154c4e25b2 | |
| - name: Configure Poetry | |
| run: | | |
| poetry config virtualenvs.create true --local | |
| poetry config virtualenvs.in-project true --local | |
| - name: Install package | |
| run: poetry install --all-extras | |
| - name: Format | |
| run: poetry run ruff format --check . | |
| - name: Lint | |
| if: always() | |
| run: poetry run ruff check --output-format=github . | |
| - name: Typecheck | |
| if: always() | |
| run: poetry run mypy . | |
| - name: Test | |
| if: always() | |
| run: poetry run pytest |