Add gradient and autodiff checks for linear operators #2553
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: Pre-Commit | |
on: | |
pull_request: | |
jobs: | |
pre-commit: | |
name: Pre-commit | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/ptb-mr/mrpro_py311:latest | |
options: --user runner | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pre-commit/[email protected] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
# Cancel in-progress runs when a new workflow with the same group name is triggered | |
cancel-in-progress: true |