From 8ebc23417fd89328d4841aef7b156bb9cc1fca84 Mon Sep 17 00:00:00 2001 From: DSilva27 Date: Fri, 9 Aug 2024 13:04:33 -0400 Subject: [PATCH] remove caching as it is causing false negatives in testing --- .github/workflows/testing.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 413047d..6c665b3 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -26,30 +26,19 @@ jobs: python-version: ${{ matrix.python-version }} cache: 'pip' # caching pip dependencies - - name: Cache test data - id: cache_test_data - uses: actions/cache@v3 - with: - path: | - tests/data - data - key: venv-${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('**/tests/scripts/fetch_test_data.sh') }} - - name: Install dependencies run: | python -m pip install --upgrade pip pip install . pip install pytest omegaconf - + - name: Get test data from OSF - if: ${{ steps.cache_test_data.outputs.cache-hit != 'true' }} run: | sh tests/scripts/fetch_test_data.sh - + - name: Test with pytest run: | pytest tests/test_preprocessing.py pytest tests/test_svd.py pytest tests/test_map_to_map.py pytest tests/test_distribution_to_distribution.py -