Bump nf-core/setup-nextflow from 2 to 3 #2300
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: ns test | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - 'develop_**' | |
| jobs: | |
| ns-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up java | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: '11' | |
| - name: Set up sbt | |
| uses: sbt/setup-sbt@v1 | |
| - name: Build viash | |
| run: | | |
| echo "${HOME}/.local/bin" >> $GITHUB_PATH | |
| ./configure --prefix "${HOME}/.local/" | |
| make | |
| make install | |
| - name: Run tests | |
| run: | | |
| set -e | |
| viash ns test --src src/viash |