diff --git a/.github/workflows/fbf-test.yaml b/.github/workflows/fbf-test.yaml index 81576f56..4d34abbe 100644 --- a/.github/workflows/fbf-test.yaml +++ b/.github/workflows/fbf-test.yaml @@ -15,7 +15,7 @@ jobs: run: shell: bash -elo pipefail {0} steps: - - run: ls -l /usr/share + - run: ls -l /usr/share/miniconda - uses: actions/checkout@v3 - name: restore miniconda cache @@ -28,7 +28,7 @@ jobs: # I tried and rejected the existing setup-miniconda action, # because it wipes out a bunch of files like ~/.profile, # ~/.bashrc, ~/.bash_profile in a way that (a) won't interact - # well with other actions that need to modify the shell + # well with other actions that also need to modify the shell # environment, and (b) doesn't play well with caching (you can't # cache the deletion of a file). Also this way seems to take # about half the time (though that might just be random @@ -63,10 +63,6 @@ jobs: run: source ${{env.CONDA_PATH}}/etc/profile.d/conda.sh && mamba create -n fbfmaproom --file fbfmaproom/conda-linux-64.lock if: steps.restore-fbfmaproom-env.outputs.cache-hit != 'true' - - name: clean up fbfmaproom environment to reduce cache size - run: source ${{env.CONDA_PATH}}/etc/profile.d/conda.sh && conda clean -afy - if: steps.restore-fbfmaproom-env.outputs.cache-hit != 'true' - - name: save fbfmaproom conda environment cache uses: actions/cache/save@v3 with: @@ -75,4 +71,4 @@ jobs: if: steps.restore-fbfmaproom-env.outputs.cache-hit != 'true' - name: run fbf tests - run: source ${{env.CONDA_PATH}}/etc/profile.d/conda.sh && conda activate fbfmaproom && cd fbfmaproom && CONFIG=fbfmaproom-sample.yaml python -m pytest tests/test_pingrid.py + run: source ${{env.CONDA_PATH}}/etc/profile.d/conda.sh && conda activate fbfmaproom && cd fbfmaproom && CONFIG=fbfmaproom-sample.yaml python -m pytest