This repository was archived by the owner on Mar 6, 2026. It is now read-only.
ref: adapt the test layout to the detray test setup (#171) #882
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
| # Algebra plugins library, part of the ACTS project (R&D line) | |
| # | |
| # (c) 2021-2026 CERN for the benefit of the ACTS project | |
| # | |
| # Mozilla Public License Version 2.0 | |
| name: Checks | |
| # Cancel existing jobs on new pushes. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| on: | |
| push: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| env: | |
| PRE_COMMIT_HOME: '/tmp/pre-commit' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ${{ env.PRE_COMMIT_HOME }} | |
| key: ${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }} | |
| - name: Install pre-commit | |
| run: pip install pre-commit | |
| - name: Run pre-commit | |
| run: pre-commit run --all-files --show-diff-on-failure |