mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-25 02:39:55 +00:00
Add a test workflow
This commit is contained in:
parent
6c82e76a03
commit
ec7d98ca18
1 changed files with 38 additions and 0 deletions
38
.github/workflows/example.yml
vendored
Normal file
38
.github/workflows/example.yml
vendored
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
name: Example builds
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
nextflow_version:
|
||||||
|
- "21.10.3"
|
||||||
|
- "22.04"
|
||||||
|
- "22.03.1-edge"
|
||||||
|
- "latest"
|
||||||
|
- "latest-stable"
|
||||||
|
- "latest-edge"
|
||||||
|
- "latest-everything"
|
||||||
|
all_distribution:
|
||||||
|
- true
|
||||||
|
- false
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 16
|
||||||
|
cache: "npm"
|
||||||
|
- run: npm install
|
||||||
|
- uses: ./
|
||||||
|
with:
|
||||||
|
version: ${{ matrix.nextflow_version }}
|
||||||
|
all: ${{ matrix.all_distribution }}
|
||||||
|
- run: nextflow -v
|
Loading…
Reference in a new issue