Skip to content

chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.8.2 #556

chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.8.2

chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.8.2 #556

Workflow file for this run

name: CI
on: [ pull_request ]
jobs:
pre-commit:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/[email protected]
fast-tests:
runs-on: ubuntu-24.04
needs: [ pre-commit ]
steps:
- uses: actions/checkout@v4
- name: Unit tests
run: bazel test //...
- name: Build aspect integration tests
run: ./scripts/build_aspect_tests.sh
- name: Build examples
run: ./scripts/build_examples.sh
integration-tests-aspect:
strategy:
matrix:
os: [ ubuntu-24.04, macos-15, windows-2022 ]
runs-on: ${{ matrix.os }}
needs: [ fast-tests ]
steps:
- uses: actions/checkout@v4
- name: Integration tests - Aspect
if: runner.os != 'Windows'
run: python test/aspect/execute_tests.py
- name: Integration tests - Aspect
if: runner.os == 'Windows'
run: python test/aspect/execute_tests.py -b 7.0.0 -p 3.8.18
integration-tests-apply-fixes:
strategy:
matrix:
os: [ ubuntu-24.04, macos-15, windows-2022 ]
runs-on: ${{ matrix.os }}
needs: [ fast-tests ]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare_buildozer
with:
version: '6.4.0'
- name: Integration tests - Applying fixes
run: python test/apply_fixes/execute_tests.py
integration-tests-examples:
strategy:
matrix:
os: [ ubuntu-24.04, macos-15, windows-2022 ]
runs-on: ${{ matrix.os }}
needs: [ fast-tests ]
steps:
- uses: actions/checkout@v4
- name: Integration tests - Examples
run: python examples/test.py
- name: Integration tests - Examples with legacy WORKSPACE setup
run: python examples/test.py --legacy-workspace