chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.15.2 #2521
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: Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - renovate/** | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: | |
| - "3.13" | |
| - "3.14" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Flux CLI | |
| uses: fluxcd/flux2/action@v2.7.5 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| enable-cache: true | |
| cache-dependency-glob: "requirements_dev.txt" | |
| activate-environment: true | |
| - name: Install dependencies | |
| run: | | |
| uv pip install -r requirements_dev.txt | |
| - name: Test with pytest | |
| run: | | |
| SKIP_DIFF_TESTS=1 pytest --cov=flux_local --cov-report=term-missing --snapshot-warn-unused | |
| - uses: codecov/codecov-action@v5.5.2 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| env_vars: OS,PYTHON | |
| fail_ci_if_error: true | |
| verbose: true | |
| - name: Test flux-local diff | |
| run: | | |
| pytest tests/tool/test_diff.py |