Repository navigation
coverage - fix some issues and make it hard for them to happen again - #2121
Conversation
|
LCOV regularly has errors processing files dues to oddities around timestamps, so I dunno if we want a hard fail in general |
|
Not sure I know what you mean. Most of the errors i've seen since cleaning up the command have been pretty specific and reproducible (this float error has been there for a minute). I could also figure out how to have it be a pipeline warning if that's would be better. |
|
I can't find a good example, met something is sometimes wonky either when we force push or when jobs don't get cleaned up correctly and there's errors that state something about overwriting files with different time steps. We might need to have a 'on failure' step? |
|
If you set the allow_failure with specific error codes, it will mark it as passing with warnings. We could use that to allow coverage specifically to fail, but still see that it's something we should double check. |
f185dd7 to
c3dfdce
Compare
c3dfdce to
9fe1407
Compare
|
Okay the coverage drop here is expected, since before this we didn't have float magma coverage at all. |
|
do you have a summary of what the changes entail at a high level? they pass and the logs look nicer |
|
it does look like some f90 files are flaky, which doesn't surprise me |
|
Yeah -- the changes are actually very minor. I moved the coverage report generation and upload into the main job section of the gitlab CI jobs. The float one is a bit more involved; coverage files are tied to the executable. Since we essentially rerun the entire test suite with a different config, we have to clean out the coverage files in between. That isn't an issue for the other jobs, since when they invoke |
Purpose:
Fix bugs causing LCOV to fail.
Make LCOV happen in the main script on Noether to cause loud failures.
LLM/GenAI Disclosure:
None