From a6d8774fc21861b49c2126f3964757b99824b59a Mon Sep 17 00:00:00 2001 From: Thomas Padioleau Date: Tue, 7 Jan 2025 10:52:22 +0100 Subject: [PATCH] Add a rule about iostream header --- .github/workflows/tests.yml | 2 ++ 1 file changed, 2 insertions(+) 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