diff --git a/.github/workflows/fortran.yml b/.github/workflows/fortran.yml index 57c40c7..15d9637 100644 --- a/.github/workflows/fortran.yml +++ b/.github/workflows/fortran.yml @@ -87,9 +87,10 @@ jobs: # threading set their own thread counts. # # A pull request runs the Debug tier without the tests labelled slow (the long lazy-wave, - # mooring and statics campaigns, about 6500 CPU-s of a 21900 CPU-s Debug suite): the -O0 - # faults this tier exists for live in code the remaining tests reach, and the slow tests - # still run in Release on both platforms and on the Prescott kernel. Every push to dev + # mooring and statics campaigns) or debug_long (tests over about 200 CPU-s at -O0, listed in + # CMakeLists.txt): the -O0 faults this tier exists for live in code the remaining tests + # reach, and the skipped tests still run in Release on both platforms and on the Prescott + # kernel. Every push to dev # and main runs the full suite at -O0, so each merge is hardened without holding the PR. env: OMP_NUM_THREADS: "1" @@ -97,7 +98,7 @@ jobs: FAST_DEBUG: ${{ matrix.build_type == 'Debug' && github.event_name == 'pull_request' }} run: | if [ "$FAST_DEBUG" = "true" ]; then - ctest --test-dir build --output-on-failure --parallel 4 -LE slow + ctest --test-dir build --output-on-failure --parallel 4 -LE 'slow|debug_long' else ctest --test-dir build --output-on-failure --parallel 4 fi diff --git a/CMakeLists.txt b/CMakeLists.txt index 14e6a0f..fff0998 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3791,3 +3791,41 @@ if(CMAKE_Fortran_COMPILER_ID STREQUAL "GNU") endif() endforeach() endif() + +# Tests over about 200 CPU-s at -O0 on the Windows Debug runner (the CI run of #181). A pull +# request's Debug tier skips them with the slow tests (fortran.yml); Release runs them on every +# pull request and the Debug tier on every push to dev and main. +set(CABLEDYN_DEBUG_LONG_TESTS + viv_coupled + viv_inline_deck + viv_frame_deck + viv_wake_deck + python_package + graded_mesh_statics + viv_riser + viv_step_order + coupled_cable_tolerance + static_current_balance + bending_damping_deck + viv_amplitude_deck + hermite_static_azimuth + ei0_slack_dynamics + arclength_rigid_end + viv_lockin + viv_diameter_deck + torsion_current_start + body_rod_physics + c_api_threads_exit + load_power_deck + driver_axial_damping_ratio + example_lazy_wave_vessel_rao + torsion_orcaflex + monolithic_gates + driver_graded_cross_current + attachment_polish_floor +) +foreach(_t IN LISTS CABLEDYN_DEBUG_LONG_TESTS) + if(TEST ${_t}) + set_property(TEST ${_t} APPEND PROPERTY LABELS debug_long) + endif() +endforeach()