File tree 2 files changed +8
-2
lines changed 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 78
78
${{ runner.os }}-${{ matrix.python-version }}-${{
79
79
steps.commitstring.outputs.commitstring }}-primer
80
80
- name : Regenerate cache
81
- if : steps.cache-projects.outputs.cache-hit != 'true'
81
+ # Presence of colorama is a heuristic for the env having all packages
82
+ if :
83
+ steps.cache-projects.outputs.cache-hit != 'true' || (. venv/bin/activate && !
84
+ python -m pip show colorama)
82
85
run : |
83
86
. venv/bin/activate
84
87
python tests/primer/__main__.py prepare --clone
Original file line number Diff line number Diff line change @@ -147,7 +147,10 @@ jobs:
147
147
${{ runner.os }}-${{ matrix.python-version }}-${{
148
148
steps.commitstring.outputs.commitstring }}-primer
149
149
- name : Regenerate cache
150
- if : steps.cache-projects.outputs.cache-hit != 'true'
150
+ # Presence of colorama is a heuristic for the env having all packages
151
+ if :
152
+ steps.cache-projects.outputs.cache-hit != 'true' || (. venv/bin/activate && !
153
+ python -m pip show colorama)
151
154
run : |
152
155
. venv/bin/activate
153
156
python tests/primer/__main__.py prepare --clone
You can’t perform that action at this time.
0 commit comments