Investigate unexpected licence check failures.#373
Investigate unexpected licence check failures.#373pp-mo wants to merge 3 commits intoSciTools:mainfrom
Conversation
|
Weirder and weirder... In this PR, it still complains about the file "..._140.py". And still I can detect no difference in the header lines between this and the "..._40.py" one. |
|
The latest results do seem to show that there is not anything wrong in the "test_..._140.py" file, So far, I am stumped by this. There must be something wrong with how the test is working. |
I think you're looking in the wrong place. The failure is in This got merged unnoticed because #343 was raised before #359, but was merged AFTER it. We have got used to the excellent functionality of GHA, which gives us CI against a simulated merge, whereas Cirrus runs CI on the branch itself. This meant that #343 passed, because the licence header test on #343 was still asserting for the old header. I assumed that the failures on #371 couldn't possibly be real, since I had not modified the file in question. But the failures were real, they just hadn't been noticed before. I'm probably going to run out of time to raise a fix PR this evening, but I'd be happy to merge one if you raised it. |
|
Looking at the wrong file ! |
I can't any difference between the licence headers of
test_grid_definition_template_40.pyandtest_grid_definition_template_140.py, but the latter is failing.The header check only runs on files changed in the current commit (or something like).
So we shall see whether this fails on the old file (previously apparently OK) or not ...