Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Python venv setup from GitLab-CI rules #252

Merged
merged 1 commit into from
Nov 22, 2022

Conversation

marshallward
Copy link
Member

GitLab CI includes the internal testing suite (.testing) and included an explicit setup of the Python environment (make work/local-env). The rule has since been removed, and the command now fails.

This patch removes those steps, since we no longer use Python in the tests.

It also slightly reworks the reporting of test output. Instead of re-running make test, it uses the make test.summary rule to report the final result.

GitLab CI includes the internal testing suite (.testing) and included an
explicit setup of the Python environment (`make work/local-env`).  The
rule has since been removed, and the command now fails.

This patch removes those steps, since we no longer use Python in the
tests.

It also slightly reworks the reporting of test output.  Instead of
re-running `make test`, it uses the `make test.summary` rule to report
the final result.
@marshallward
Copy link
Member Author

The regression suite was tested here:

https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/17497

but it should be independently verified.

@codecov
Copy link

codecov bot commented Nov 22, 2022

Codecov Report

Merging #252 (71dd8a9) into dev/gfdl (f1fe63d) will decrease coverage by 0.01%.
The diff coverage is 4.28%.

@@             Coverage Diff              @@
##           dev/gfdl     #252      +/-   ##
============================================
- Coverage     37.18%   37.17%   -0.02%     
============================================
  Files           263      263              
  Lines         73198    73221      +23     
  Branches      13637    13638       +1     
============================================
+ Hits          27217    27218       +1     
- Misses        40956    40978      +22     
  Partials       5025     5025              
Impacted Files Coverage Δ
src/ice_shelf/MOM_ice_shelf.F90 0.00% <0.00%> (ø)
src/initialization/MOM_coord_initialization.F90 55.81% <0.00%> (-0.66%) ⬇️
src/initialization/MOM_shared_initialization.F90 29.20% <0.00%> (-0.10%) ⬇️
src/initialization/MOM_state_initialization.F90 21.50% <0.00%> (-0.15%) ⬇️
src/ocean_data_assim/MOM_oda_driver.F90 0.00% <0.00%> (ø)
...c/parameterizations/lateral/MOM_internal_tides.F90 0.00% <0.00%> (ø)
...meterizations/vertical/MOM_internal_tide_input.F90 0.00% <0.00%> (ø)
...c/parameterizations/vertical/MOM_set_viscosity.F90 60.04% <0.00%> (-0.07%) ⬇️
...rc/parameterizations/vertical/MOM_tidal_mixing.F90 1.40% <0.00%> (-0.01%) ⬇️
src/parameterizations/lateral/MOM_hor_visc.F90 50.40% <100.00%> (+0.04%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@adcroft adcroft merged commit 56cf125 into NOAA-GFDL:dev/gfdl Nov 22, 2022
@marshallward
Copy link
Member Author

Unfortunately I don't think this PR actually solved the underlying issue. It appears to be a random failure where re-running the test fixes the problem. This needs further investigation.

Note that this is exclusive to the GitLab testing on Gaea and should not affect anyone else.

@marshallward marshallward deleted the gitlab_remove_venv branch February 20, 2023 16:20
@marshallward marshallward restored the gitlab_remove_venv branch February 20, 2023 16:20
@marshallward marshallward deleted the gitlab_remove_venv branch February 20, 2023 16:21
marshallward pushed a commit that referenced this pull request Oct 25, 2023
Output relevant fields when diff or visc < 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants