✅ Add ci with nf-test #24
Workflow file for this run
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: nf-purple CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test_pipeline: | |
runs-on: ubuntu-latest | |
name: Job to run the test workflow | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: nf-core/setup-nextflow@v1 | |
- name: Install nf-test | |
run: | | |
wget -qO- https://code.askimed.com/install/nf-test | bash | |
sudo mv nf-test /usr/local/bin/ | |
- name: Pull Docker image and cache | |
run: | | |
docker pull papaemmelab/purple:v0.1.0 | |
- name: Run unit tests of each process for Amber, Cobalt, Purple | |
run: | | |
nf-test test tests/main.runamber.nf.test | |
nf-test test tests/main.runcobalt.nf.test | |
nf-test test tests/main.runpurple.nf.test | |
- name: Run pipeline end-to-end test | |
run: | | |
nf-test test tests/main.nf.test | |