setup-nextflow/.github/workflows/example.yml
Thomas A. Christensen II a0a0a4327f refactor: Rename integration testing CI workflows to 'example-usage'
We have two CI workflows with the name "test" (three if you count
"test-14"). This ambiguates the job name, and results in act running both
unit tests and integration tests when running `act -j test`. Fix that by
changing the names.
2024-02-03 11:16:01 -06:00

59 lines
1.2 KiB
YAML

name: Example builds
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
release:
types: [published]
jobs:
example-usage:
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: 20
cache: "npm"
- run: npm ci
- run: npm run build
- run: npm run package
- uses: ./
with:
version: ${{ matrix.nextflow_version }}
all: ${{ matrix.all_distribution }}
- run: nextflow -v
example-maximized-build-space:
runs-on: ubuntu-latest
steps:
- uses: easimon/maximize-build-space@v7
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
- run: npm ci
- run: npm run build
- run: npm run package
- uses: ./
- run: nextflow -v