File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -103,9 +103,9 @@ jobs:
103103 # and are only run after the PR gets merged
104104 GITHUB_TOKEN : ${{secrets.CI_UNIT_TESTS_GITHUB_TOKEN}}
105105 run : |
106- # don't install GitHub token when testing with Lmod 7 .x or non-Lmod module tools , to avoid hitting GitHub rate limit;
106+ # only install GitHub token when testing with Lmod 8 .x + Python 3.6 or 3.9 , to avoid hitting GitHub rate limit;
107107 # tests that require a GitHub token are skipped automatically when no GitHub token is available
108- if [[ ! "${{matrix.modules_tool}}" =~ 'Lmod-7 ' ]] && [[ ! "${{matrix.modules_tool }}" =~ 'modules-' ]]; then
108+ if [[ "${{matrix.modules_tool}}" =~ 'Lmod-8 ' ]] && [[ "${{matrix.python }}" =~ 3.[69] ]]; then
109109 if [ ! -z $GITHUB_TOKEN ]; then
110110 SET_KEYRING="import keyrings.alt.file; keyring.set_keyring(keyrings.alt.file.PlaintextKeyring())";
111111 python -c "import keyring; $SET_KEYRING; keyring.set_password('github_token', 'easybuild_test', '$GITHUB_TOKEN')";
You can’t perform that action at this time.
0 commit comments