chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.13.2 #3543
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: Python application | |
| on: [pull_request, workflow_dispatch] | |
| permissions: | |
| checks: write | |
| jobs: | |
| build_backend: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python: [3.9, "3.10"] | |
| env: | |
| FORCE_COLOR: 1 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Remove cached duckdb extensions | |
| run: rm -rf ~/.duckdb | |
| - uses: fjwillemsen/[email protected] | |
| - run: python -m pip install github-action-utils uv -U | |
| - name: List nox envs | |
| run: nox -l | |
| - run: nox --pythons '${{ matrix.python }}' | |
| - run: uvx poetry build | |
| - run: uvx poetry check --strict | |
| - name: Publish Unit Test Results | |
| uses: EnricoMi/publish-unit-test-result-action@v2 | |
| if: always() | |
| with: | |
| junit_files: results.xml | |
| comment_mode: off | |
| check_name: "Test Results - ${{ join(matrix.*, ', ') }}" | |
| - uses: codecov/[email protected] | |
| env: | |
| PYTHON: ${{matrix.python}} | |
| BLEEDING_EDGE: ${{matrix.bleeding_edge}} | |
| with: | |
| files: ./coverage.xml | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| env_vars: PYTHON # ,BLEEDING_EDGE # set from matrix | |
| fail_ci_if_error: true | |
| verbose: true |