Skip to content

Glob unit tests#899

Merged
marshallward merged 2 commits into
NOAA-GFDL:dev/gfdlfrom
adcroft:glob-unit-tests
May 19, 2025
Merged

Glob unit tests#899
marshallward merged 2 commits into
NOAA-GFDL:dev/gfdlfrom
adcroft:glob-unit-tests

Conversation

@adcroft
Copy link
Copy Markdown
Member

@adcroft adcroft commented May 13, 2025

  • Updates the build.coverage and run.coverage steps to use wildcards (to catch all tests rather than hard-coded lists)
  • Renames run.timings to compare.timings and duplicates part back to run.timings
  • run.timings is triggered on a push to check that the code does not break the timing drivers
  • Renames mom6-unit-artifact to mom6-timing-artifact
  • Enables mom6-timing-target-artifact (being tested in this PR)

@adcroft adcroft requested a review from marshallward May 13, 2025 20:11
@adcroft adcroft force-pushed the glob-unit-tests branch 2 times, most recently from baa1a5b to 740ca34 Compare May 13, 2025 21:00
@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 37.55%. Comparing base (c458e2b) to head (bfe4a01).
Report is 2 commits behind head on dev/gfdl.

Additional details and impacted files
@@            Coverage Diff            @@
##           dev/gfdl     #899   +/-   ##
=========================================
  Coverage     37.54%   37.55%           
=========================================
  Files           305      305           
  Lines         91434    91434           
  Branches      17417    17417           
=========================================
+ Hits          34333    34335    +2     
+ Misses        50676    50675    -1     
+ Partials       6425     6424    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@adcroft adcroft force-pushed the glob-unit-tests branch from 78a9675 to 1435135 Compare May 15, 2025 14:05
@adcroft adcroft marked this pull request as ready for review May 15, 2025 14:44
Rather than explicitly list known unit tests, we now either wild
card or use "find" to create a list.
@adcroft adcroft force-pushed the glob-unit-tests branch from 1435135 to 79dee97 Compare May 15, 2025 14:44
- Using wild cards to catch all the drivers/timing/* executables
- Run these tests on a push, but not to compare to target
- Enabled artifacts for target opt executables
- Had to re-clone target codebase in the compare-timings job
- Also had to use the target_codebase/.testing/Makefile directly
  to avoid rebuilding executables
@adcroft adcroft force-pushed the glob-unit-tests branch from 79dee97 to bfe4a01 Compare May 16, 2025 22:44
@adcroft adcroft added the enhancement New feature or request label May 16, 2025
@marshallward marshallward merged commit 8883d97 into NOAA-GFDL:dev/gfdl May 19, 2025
54 checks passed
@adcroft adcroft deleted the glob-unit-tests branch September 18, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants