diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2625555e9..e8b8a5c8f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,6 +22,8 @@ jobs: clangFormatVersion: 18 - name: Prefer 'if defined' over 'ifdef' run: if grep -R "ifdef" benchmarks/ examples/ include/ddc/ install_test/ tests/; then exit 1; fi + - name: Do not include in the headers of the library + run: if grep -R "#include " include/ddc/; then exit 1; fi - name: Prefer spaces over tabs run: if grep -PR "\t" benchmarks/ cmake/ examples/ include/ddc/ install_test/ tests/; then exit 1; fi - name: Find modifications of Kokkos reserved macros