From 14d6cfdea2e5a82888d281700e9ae787fc4b1c53 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Mon, 30 May 2022 18:37:05 +0100 Subject: [PATCH] Tweak CI runs: Increase tolerance in chatterjee_correlation test. Remove a few tests from Github CI. Remove autodiff from the sanitizer tests as they time out. --- .drone.star | 2 +- .github/workflows/ci.yml | 6 +++--- test/test_chatterjee_correlation.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.star b/.drone.star index fdb0db327..22a127991 100644 --- a/.drone.star +++ b/.drone.star @@ -16,7 +16,7 @@ windowsglobalimage="cppalliance/dronevs2019" def main(ctx): things_to_test = [ "special_fun", "distribution_tests", "mp", "misc", "interpolators", "quadrature", "autodiff", "long-running-tests", "float128_tests" ] - sanitizer_test = [ "special_fun", "distribution_tests", "misc", "interpolators", "quadrature", "autodiff", "float128_tests" ] + sanitizer_test = [ "special_fun", "distribution_tests", "misc", "interpolators", "quadrature", "float128_tests" ] gnu_5_stds = [ "gnu++11" ] gnu_6_stds = [ "gnu++11", "gnu++14" ] gnu_8_stds = [ "gnu++11", "gnu++14", "gnu++17" ] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6d46ae6b..0e3576aed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: fail-fast: false matrix: compiler: [ g++-12, clang++-14 ] - standard: [ c++11, c++14, c++17, c++20 ] + standard: [ c++14, c++17, c++20 ] suite: [ float128_tests, special_fun, distribution_tests, misc, quadrature, mp, interpolators, autodiff, ../example//examples, ../tools ] steps: - uses: actions/checkout@v2 @@ -83,7 +83,7 @@ jobs: fail-fast: false matrix: compiler: [ g++-9, g++-11, clang++-10 ] - standard: [ c++11, c++14, c++17, c++2a ] + standard: [ c++14, c++17, c++2a ] suite: [ float128_tests, special_fun, distribution_tests, misc, quadrature, mp, interpolators, autodiff, ../example//examples, ../tools ] steps: - uses: actions/checkout@v2 @@ -274,7 +274,7 @@ jobs: fail-fast: false matrix: toolset: [ clang ] - standard: [ 11, 14, 17, 2a ] + standard: [ 11, 14, 17, 20 ] suite: [ float128_tests, special_fun, distribution_tests, misc, quadrature, mp, interpolators, autodiff, ../example//examples, ../tools ] steps: - uses: actions/checkout@v2 diff --git a/test/test_chatterjee_correlation.cpp b/test/test_chatterjee_correlation.cpp index be91a925e..d39a1a33a 100644 --- a/test/test_chatterjee_correlation.cpp +++ b/test/test_chatterjee_correlation.cpp @@ -127,7 +127,7 @@ void test_paper() } result = chatterjee_correlation(x, y); - CHECK_MOLLIFIED_CLOSE(result, Real(0.885), 0.01); + CHECK_MOLLIFIED_CLOSE(result, Real(0.885), 0.012); } int main(void)