Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Merge pull request #128 from awgymer/add-array-support #494

Merge pull request #128 from awgymer/add-array-support

Merge pull request #128 from awgymer/add-array-support #494

Workflow file for this run

name: nf-validator CI
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
name: Build nf-validator
if: "!contains(github.event.head_commit.message, '[ci skip]')"
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
java_version: [11, 17]
steps:
- name: Environment
run: env | sort
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
submodules: true
- name: Setup Java ${{ matrix.java_version }}
uses: actions/setup-java@v3
with:
java-version: ${{matrix.java_version}}
distribution: 'adopt'
architecture: x64
cache: gradle
- name: Compile
run: ./gradlew assemble
- name: Tests
run: ./gradlew check
env:
GRADLE_OPTS: '-Dorg.gradle.daemon=false'
- name: Publish tests report
if: failure()
uses: actions/upload-artifact@v3
with:
name: test-reports-jdk-${{ matrix.java_version }}
path: |
./plugins/nf-validation/build/reports/tests/test/**