diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93918d5..265486a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,12 +27,6 @@ jobs: run: | python -m pip install --upgrade pip setuptools packaging - - name: Download GRCh37.tar.gz if not present - run: | - if [ ! -f ./src/GRCh37.tar.gz ]; then - wget --connect-timeout=10 --tries=20 ftp://alexandrovlab-ftp.ucsd.edu/pub/tools/SigProfilerMatrixGenerator/GRCh37.tar.gz -P ./src/ - fi - - name: Cache src directory uses: actions/cache@v4 with: @@ -41,6 +35,12 @@ jobs: restore-keys: | ${{ runner.os }}-src- + - name: Download GRCh37.tar.gz if not present + run: | + if [ ! -f ./src/GRCh37.tar.gz ]; then + wget --connect-timeout=10 --tries=20 ftp://alexandrovlab-ftp.ucsd.edu/pub/tools/SigProfilerMatrixGenerator/GRCh37.tar.gz -P ./src/ + fi + - name: Install package with tests run: | pip install .[tests]