Skip to content

Commit a5e2bd6

Browse files
committed
Removed mentions of psij-ci-load since it has been phased out by
psij-ci-env. Psij-ci-run still attempts to load it if it's there just in case.
1 parent ba985e7 commit a5e2bd6

File tree

4 files changed

+10
-15
lines changed

4 files changed

+10
-15
lines changed

README-testing.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,11 @@ use the provided setup script:
3030

3131
or 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

4239
Testing with the CI runner
4340
==========================

psij-ci-load

Lines changed: 0 additions & 4 deletions
This file was deleted.

psij-ci-run

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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+
2023
if [ -f psij-ci-env ]; then
2124
source psij-ci-env
2225
fi

psij-ci-setup

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,7 @@ echo "This script will install requirements for the PSI/J CI tests and"
188188
echo "add a cron job to run the tests once a day at some random time. "
189189
echo " "
190190
echo "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. "
193192
echo "================================================================"
194193
echo
195194

0 commit comments

Comments
 (0)