Skip to content

PopIII Simulation #1098

PopIII Simulation

PopIII Simulation #1098

Workflow file for this run

name: clang-tidy-review
# You can be more specific, but it currently only works on pull requests
on: [pull_request]
concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-clang-tidy
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- uses: ZedThree/[email protected]
id: review
with:
config_file: src/.clang-tidy
build_dir: build
apt_packages: libopenmpi-dev,libhdf5-mpi-dev,python3-dev,python3-numpy,python3-matplotlib
cmake_command: cmake . -B build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DQUOKKA_PYTHON=ON
split_workflow: true
# Uploads an artefact containing clang_fixes.json
- uses: ZedThree/clang-tidy-review/[email protected]
# If there are any comments, fail the check
- if: steps.review.outputs.total_comments > 0
run: exit 1