From 1f15649255e55f8ab4e2368b571bed396340e1e8 Mon Sep 17 00:00:00 2001 From: Ari Trachtenberg Date: Sun, 6 Oct 2024 14:18:25 -0400 Subject: [PATCH] Fixed tests --- ci_cd/problem2.yml | 2 +- ci_cd/problem3.yml | 2 +- ci_cd/problem4.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci_cd/problem2.yml b/ci_cd/problem2.yml index ab8d589..f59d087 100644 --- a/ci_cd/problem2.yml +++ b/ci_cd/problem2.yml @@ -32,7 +32,7 @@ lint_problem_2: stage: problem2 script: - echo "Static code check of problem2.cpp" - - cppcheck -std=c++17 --check-config --enable=all --inconclusive --error-exitcode=1 problem2.cpp + - cppcheck --check-config --enable=all --inconclusive --error-exitcode=1 problem2.cpp allow_failure: false rules: - if: '$CI_COMMIT_REF_NAME == "problem2"' diff --git a/ci_cd/problem3.yml b/ci_cd/problem3.yml index 6c9859d..5c984c1 100644 --- a/ci_cd/problem3.yml +++ b/ci_cd/problem3.yml @@ -32,7 +32,7 @@ lint_problem_3: stage: problem3 script: - echo "Static code check of problem3.cpp" - - cppcheck --std=c++17 --check-config --enable=all --inconclusive --error-exitcode=1 problem3.cpp + - cppcheck --check-config --enable=all --inconclusive --error-exitcode=1 problem3.cpp allow_failure: false rules: - if: '$CI_COMMIT_REF_NAME == "problem3"' diff --git a/ci_cd/problem4.yml b/ci_cd/problem4.yml index 30f5e88..30e0976 100644 --- a/ci_cd/problem4.yml +++ b/ci_cd/problem4.yml @@ -32,7 +32,7 @@ lint_problem_4: stage: problem4 script: - echo "Static code check of problem4.cpp" - - cppcheck --std=c++17 --check-config --enable=all --inconclusive --error-exitcode=1 problem4.cpp + - cppcheck --check-config --enable=all --inconclusive --error-exitcode=1 problem4.cpp allow_failure: false rules: - if: '$CI_COMMIT_REF_NAME == "problem4"' -- GitLab