MAINT: Run `calculators` pipeline nightly (scheduled) + Enable `windows_test` manually
Checklist
-
I have read the contribution guidelines. -
Unit tests have been added for any new or changed code, and the test suite passes. Note: Your request will likely not be merged without the appropriate tests. -
New features and API Changes are described in doc/releasenotes.rst
. -
"closes #XXXX" is in the body of the MR description to link the related issue, if applicable.
This MR is motivated by the CP2K related issue in #1354 (closed) and !3112 (merged).
For heavy DFT calculators, CI pipelines are by default turned off. To run this, so far we need to manually turn on the pipeline, which however most contributors will not do. When introducing some changes in such calculators, however, it is still nice to do CI tests at least occasionally, so that we can notice potential introduced errors.
This MR addresses this. Based on https://docs.gitlab.com/ee/ci/jobs/job_control.html#specify-when-jobs-run-with-rules, I modified .gitlab-ci.yml
so that calculators
pipeline runs every night as a scheduled pipeline. I confirmed this works in my forked repository.
I also modify windows_test
so that we can run it manually when necessary (in addition to the present scheduled run.)