From ec7d98ca181a45629f8d846886405d5298a8350c Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Mon, 13 Jun 2022 13:30:07 -0500 Subject: [PATCH] Add a test workflow --- .github/workflows/example.yml | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/example.yml diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml new file mode 100644 index 0000000..c91c24c --- /dev/null +++ b/.github/workflows/example.yml @@ -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