docs: update changelog #217
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run plugin tests | |
| on: | |
| push: | |
| pull_request: | |
| branches: [main] | |
| merge_group: | |
| types: [checks_requested] | |
| branches: [main] | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NFT_VER: "0.9.2" | |
| NFT_WORKDIR: "~" | |
| NXF_ANSI_LOG: false | |
| NXF_SINGULARITY_CACHEDIR: ${{ github.workspace }}/.singularity | |
| NXF_SINGULARITY_LIBRARYDIR: ${{ github.workspace }}/.singularity | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| JAVA_VERSION: ["17", "21"] | |
| NXF_VER: | |
| - "24.10.5" | |
| - "latest-everything" | |
| steps: | |
| - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 | |
| - name: Setup Java ${{ matrix.JAVA_VERSION }} | |
| uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4 | |
| with: | |
| distribution: "temurin" | |
| java-version: "${{ matrix.JAVA_VERSION }}" | |
| - name: Setup Nextflow | |
| uses: nf-core/setup-nextflow@v2 | |
| with: | |
| version: "${{ env.NXF_VERSION }}" | |
| - name: Install nf-test | |
| uses: nf-core/setup-nf-test@v1 | |
| with: | |
| version: "${{ env.NFT_VER }}" | |
| install-pdiff: true | |
| - name: Build plugin | |
| run: ./build.sh | |
| - name: Set up Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install pip | |
| run: python -m pip install --upgrade pip | |
| - name: Install nf-core tools development version | |
| run: python -m pip install --upgrade --force-reinstall git+https://github.com/nf-core/tools.git@dev | |
| - name: Test the plugin | |
| run: | | |
| ./test.sh | |
| - name: Clean up | |
| if: always() | |
| run: | | |
| sudo rm -rf /home/ubuntu/tests/ |