Closed ScottBailey closed 1 year ago
Nightly and on merge?
pytest -v --run-all
After considering this a bit more, it seems like the following trigger - or something similar - is probably the correct option:
on:
push:
branches:
- main
- "release/*"
workflow_dispatch:
This should allow for the full run when:
Rather than run periodically, we should run the extended tests when a PR is merged into main
or release*
.
202 / #208 test the image bootstrapping system. A subset of tests is all that should run on a per check in basis.
The suffix
expensive
was added to the test name (e.g.test_cdt2_expensive
) as an indicator that maybe it shouldn't run on every commit. Additionally, the argument-k not expensive
to the workflow pylint command.@mikelik correctly makes the argument that disabling these tests in CI can allow a regression to slip by us that would otherwise be caught.
One option to resolve this is to run the tests periodically. Maybe once a week or even once a month.