Skip to content

Merge pull request #1 from RanbirK/fix-build #32

Merge pull request #1 from RanbirK/fix-build

Merge pull request #1 from RanbirK/fix-build #32

name: Avro Compatibility Tests
on: [push, pull_request]
jobs:
test:
name: "Compatibility: avro ${{ matrix.avro }}/gradle ${{ matrix.gradle }}"
runs-on: "ubuntu-latest"
strategy:
matrix:
avro: ["1.11.0", "1.11.1"]
gradle: ["5.1", "7.6"]
java: ["8"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: ${{ matrix.java }}
- uses: gradle/gradle-build-action@v2
with:
build-root-directory: lang/java/gradle-plugin
gradle-executable: lang/java/gradle-plugin/gradlew
arguments: testCompatibility -PavroVersion=${{ matrix.avro }} -PgradleVersion=${{ matrix.gradle }}