Skip to content

Commit 6b33ac7

Browse files
committed
update the nf-test.yaml to basic format
1 parent 694cf0a commit 6b33ac7

2 files changed

Lines changed: 22 additions & 86 deletions

File tree

.github/workflows/nf-test.yaml

Lines changed: 22 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,30 @@
1-
on:
2-
# PRs and push to main
3-
push:
4-
branches:
5-
- main
6-
pull_request:
7-
branches:
8-
- main
9-
name: Test nf-test installation
1+
name: NF Tests
2+
on: [push, pull_request]
103
jobs:
114
test:
125
runs-on: ubuntu-latest
13-
name: A test to install nf-test
14-
strategy:
15-
matrix:
16-
NF-TEST_VER:
17-
- "0.9.2"
18-
with-pdiff:
19-
- true
20-
- false
21-
steps:
22-
- uses: actions/checkout@v4
23-
- uses: actions/setup-node@v4
24-
with:
25-
node-version: "20"
26-
cache: "npm"
27-
- name: Install dependencies
28-
run: npm ci
29-
- name: Build
30-
run: npm run build
31-
- uses: actions/setup-java@v4
6+
7+
steps:
8+
- name: Checkout
9+
uses: actions/checkout@v4
3210
with:
33-
distribution: "temurin"
34-
java-version: "17"
35-
- uses: nf-core/setup-nextflow@v2
11+
fetch-depth: 0
3612

37-
- uses: actions/setup-python@v5
13+
- name: Set up JDK 11
14+
uses: actions/setup-java@v2
3815
with:
39-
python-version: "3.11"
16+
java-version: '11'
17+
distribution: 'adopt'
4018

41-
- name: nf-test install action step
42-
uses: ./
19+
- name: Setup Nextflow latest-edge
20+
uses: nf-core/setup-nextflow@v1
4321
with:
44-
version: "${{ matrix.NF-TEST_VER }}"
45-
install-pdiff: "${{ matrix.with-pdiff }}"
46-
- name: Smoke test
47-
run: nf-test version
22+
version: "latest-edge"
23+
24+
- name: Install nf-test
25+
run: |
26+
wget -qO- https://get.nf-test.com | bash
27+
sudo mv nf-test /usr/local/bin/
28+
29+
- name: Run Tests
30+
run: nf-test test --ci #this is used to prevent updating the snapshot

nf-test.yaml

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)