fixing JDK version for CI #3
This file contains 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: CI Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Setup Nextflow latest-edge | |
uses: nf-core/setup-nextflow@v1 | |
with: | |
version: "latest-edge" | |
- name: Install nf-test | |
run: | | |
wget -qO- https://get.nf-test.com | bash | |
sudo mv nf-test /usr/local/bin/ | |
- name: Run Tests | |
run: nf-test test --ci |