Skip to content

Update GZip example in docs #112

Update GZip example in docs

Update GZip example in docs #112

Workflow file for this run

name: Unit Tests
# Trigger
on:
push:
branches:
- main
paths:
- .github/workflows/**
- build.gradle
- gradle.properties
- resources/**
- src/**
- vars/**
pull_request:
types: [opened, synchronize]
paths:
- .github/workflows/**
- build.gradle
- gradle.properties
- resources/**
- src/**
- vars/**
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
java: [ '11', '17' ]
groovy:
- ${{ vars.GROOVY_2_4 }}
- ${{ vars.GROOVY_2_5 }}
- ${{ vars.GROOVY_3_0 }}
- ${{ vars.GROOVY_4_0 }}
exclude:
- groovy: ${{ vars.GROOVY_2_4 }}
java: '17'
- groovy: ${{ vars.GROOVY_2_5 }}
java: '17'
name: Java ${{ matrix.java }} Groovy ${{ matrix.groovy }}
steps:
- uses: actions/checkout@v3
- name: Setup java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- if: ${{ !(matrix.groovy == vars.GROOVY_4_0 && matrix.java == '17') }}
name: Unit Tests
run: GROOVY_VERSION=${{ matrix.groovy }} ./gradlew check
- if: ${{ matrix.groovy == vars.GROOVY_4_0 && matrix.java == '17' }}
name: Coveralls Test Coverage
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: GROOVY_VERSION=${{ matrix.groovy }} ./gradlew coveralls