From 4d27231ae97a733b83fc1ffbff1ac4f23dccef1b Mon Sep 17 00:00:00 2001 From: Andreas Hoenselaar Date: Tue, 22 Jun 2021 18:47:36 -0700 Subject: [PATCH] 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. --- .github/workflows/build-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index 9beb4a1ea..51753aa09 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -123,7 +123,6 @@ jobs: restore-keys: ${{ runner.os }}-py${{ matrix.python-version }}-mpi-${{ matrix.enable-mpi }}-pip- - name: Install Python dependencies - if: steps.cache.outputs.cache-hit != 'true' run: pip install -r python/requirements.txt - name: Install mpi4py @@ -161,4 +160,4 @@ jobs: if: failure() with: name: py${{ matrix.python-version }}-tests-mpi-${{ matrix.enable-mpi }}-log - path: ${{ github.workspace }}/build/meep-${{ env.MEEP_VERSION }}/_build/sub/python/test-suite.log \ No newline at end of file + path: ${{ github.workspace }}/build/meep-${{ env.MEEP_VERSION }}/_build/sub/python/test-suite.log