feat: move Pythonizations implementations to source files #2775
Workflow file for this run
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: pre-commit | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: cvmfs-contrib/github-action-cvmfs@v4 | |
| - uses: aidasoft/run-lcg-view@v4 | |
| with: | |
| container: el9 | |
| view-path: /cvmfs/sw-nightlies.hsf.org/key4hep | |
| run: | | |
| echo "::group::Setup git" | |
| # Newer versions of git are more cautious around the github runner | |
| # environment and without this git rev-parse --show-cdup in pre-commit | |
| # fails | |
| git config --global --add safe.directory $(pwd) | |
| echo "::endgroup::" | |
| echo "::group::Run CMake" | |
| mkdir build | |
| cd build | |
| cmake .. -DENABLE_SIO=ON \ | |
| -DENABLE_JULIA=ON \ | |
| -DENABLE_RNTUPLE=ON \ | |
| -DENABLE_DATASOURCE=ON \ | |
| -DCMAKE_CXX_STANDARD=20 \ | |
| -DCMAKE_CXX_FLAGS=" -fdiagnostics-color=always -Werror "\ | |
| -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ | |
| -DPODIO_ENABLE_SCHEMA_EVOLUTION_TESTS=ON \ | |
| -DUSE_EXTERNAL_CATCH2=OFF | |
| ln -s $(pwd)/compile_commands.json ../ | |
| cd .. | |
| echo "::endgroup::" | |
| echo "::group::Run pre-commit" | |
| pre-commit run --show-diff-on-failure \ | |
| --color=always \ | |
| --all-files | |
| echo "::endgroup::" |