File tree Expand file tree Collapse file tree 4 files changed +10
-15
lines changed
Expand file tree Collapse file tree 4 files changed +10
-15
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,11 @@ use the provided setup script:
3030
3131or manually set up the CI runner with Cron or your favorite scheduler.
3232
33- Note: If you need to set up an environment module (such as
34- ` module load python/cpython-x.y.z ` ) or something similar, such as
35- loading a conda or virtual environment, please add the relevant commands to
36- ` psij-ci-load ` , which is sourced before tests are run by ` psij-ci-run ` . If the
37- setup script is run under a venv or Conda, it will attempt to detect this and
38- ask whether the relevant environment activation commands should be added to
39- ` psij-ci-load ` . However, not all circumstances can be reliably detected and
40- you may need to manually edit ` psij-ci-load ` .
33+ Note: If you need to set up an environment module (such as `module load
34+ python/cpython-x.y.z`) or something similar, such as loading a conda or
35+ virtual environment, please run the relevant commands before invoking
36+ ` psij-ci-setup ` .
37+
4138
4239Testing with the CI runner
4340==========================
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -16,7 +16,10 @@ failifempty() {
1616 fi
1717}
1818
19- source psij-ci-load
19+ if [ -f psij-ci-load ]; then
20+ source psij-ci-load
21+ fi
22+
2023if [ -f psij-ci-env ]; then
2124 source psij-ci-env
2225fi
Original file line number Diff line number Diff line change @@ -188,8 +188,7 @@ echo "This script will install requirements for the PSI/J CI tests and"
188188echo " add a cron job to run the tests once a day at some random time. "
189189echo " "
190190echo " If you need to set up a special environment, such as loading an "
191- echo " environment module please exit this script and add the relevant "
192- echo " commands to psij-ci-load. "
191+ echo " environment module please do so and then re-run this script. "
193192echo " ================================================================"
194193echo
195194
You can’t perform that action at this time.
0 commit comments