Closed PennyHow closed 1 year ago
@patrickjwright, it works! Can you see the failed checks in this PR? So the process test failed after 3 minutes. The unit test first tried and failed on one Python environment. When one failed, it cancelled the unit testing on the other environments. I didn't realise it cancelled the others if one fails, but I don't think it is much of a problem.
Unfortunately, it does not directly block a PR from being merged, but I will have a read to see if there is a way we can do this.
Apparently we can block merging PRs with failed checks using the repo branch protection rules.
I've now added this to our main
branch protection and see if it works.
@PennyHow great! Yes I can see the test results as well.
This is another trial of the unit and process tests (after https://github.com/GEUS-Glaciology-and-Climate/pypromice/pull/104).