Patched unit tests to adapt to the changes in detray core (passing ge… #43
This file contains 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: 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: | |
clang-format: | |
runs-on: ubuntu-latest | |
container: ghcr.io/acts-project/format10:v11 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check | |
run: .github/check_format.sh . | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: changed | |
path: changed | |
black: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: psf/black@stable | |
with: | |
options: "--check --verbose" | |
src: "${{ github.workspace }}/tests/tools/python" |