diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b1c9c6f..83ed7d5e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,6 +69,8 @@ jobs: with: version: "${{ matrix.NXF_VER }}" + - uses: nf-core/setup-nf-test@v1 + - uses: actions/setup-python@v4 with: python-version: "3.11" @@ -79,21 +81,6 @@ jobs: python -m pip install --upgrade pip pip install pdiff - - name: Cache nf-test installation - id: cache-software - uses: actions/cache@v3 - with: - path: | - /usr/local/bin/nf-test - /home/runner/.nf-test/nf-test.jar - key: ${{ runner.os }}-${{ env.NFT_VER }}-nftest - - - name: Install nf-test - if: steps.cache-software.outputs.cache-hit != 'true' - run: | - wget -qO- https://code.askimed.com/install/nf-test | bash - sudo mv nf-test /usr/local/bin/ - - name: Run nf-test run: | nf-test test --verbose ${{ matrix.nf_test_files }} --profile "+${{ matrix.profile }}" --junitxml=test.xml --tap=test.tap diff --git a/CHANGELOG.md b/CHANGELOG.md index 6abb8554..7f2c089d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [PR #300](https://github.com/nf-core/fetchngs/pull/300) - Use file paths instead of tags for testing matrix, should make matrices more efficient - [PR #303](https://github.com/nf-core/fetchngs/pull/303) - Update wget container for SRA_FASTQ_FTP from 1.20.1 to 1.21.4 - [PR #305](https://github.com/nf-core/fetchngs/pull/305) - Update module sratools/prefetch for reliable download integrity check +- [PR #316](https://github.com/nf-core/fetchngs/pull/316) - Use nf-core/setup-nf-test to install nf-test from cache during CI/CD - [PR #320](https://github.com/nf-core/fetchngs/pull/20) - Update module multiqc_mappings_config and sratools/prefetch for TES compliance ### Software dependencies