Skip to content

Commit 4d27231

Browse files
authored
Run pip install unconditionally in CI workflow (#1626)
The cache is not guaranteed to be complete or up to date. The CI workflow is currently not running any of the Python tests because of a missing Numpy package.
1 parent 8903b50 commit 4d27231

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build-ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ jobs:
123123
restore-keys: ${{ runner.os }}-py${{ matrix.python-version }}-mpi-${{ matrix.enable-mpi }}-pip-
124124

125125
- name: Install Python dependencies
126-
if: steps.cache.outputs.cache-hit != 'true'
127126
run: pip install -r python/requirements.txt
128127

129128
- name: Install mpi4py
@@ -161,4 +160,4 @@ jobs:
161160
if: failure()
162161
with:
163162
name: py${{ matrix.python-version }}-tests-mpi-${{ matrix.enable-mpi }}-log
164-
path: ${{ github.workspace }}/build/meep-${{ env.MEEP_VERSION }}/_build/sub/python/test-suite.log
163+
path: ${{ github.workspace }}/build/meep-${{ env.MEEP_VERSION }}/_build/sub/python/test-suite.log

0 commit comments

Comments
 (0)