Skip to content

Commit

Permalink
Update test-avro-java.yml with the contents from main
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g committed Oct 11, 2023
1 parent 5b2ec3e commit 99c6851
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions .github/workflows/test-lang-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,34 +43,24 @@ jobs:
- '8'
- '11'
- '17'
- '18'
- '19'
- '21-ea'
steps:
- uses: actions/checkout@v4

- name: Cache Local Maven Repository
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Setup Temurin JDK
if: matrix.java == '8' || matrix.java == '11' || matrix.java == '17'
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}

- name: Setup Oracle JDK
if: matrix.java == '18' || matrix.java == '19'
uses: oracle-actions/setup-java@v1
with:
website: jdk.java.net
release: ${{ matrix.java }}
version: latest

- name: Lint
run: ./build.sh lint

Expand All @@ -86,25 +76,26 @@ jobs:
- '8'
- '11'
- '17'
- '21-ea'
steps:
- uses: actions/checkout@v4

- name: Cache Local Maven Repository
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Setup Java
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}

- name: Setup Python for Generating Input Data
uses: actions/setup-python@v2
uses: actions/setup-python@v4

- name: Apt Install Compression Libs Required by Python
run: |
Expand All @@ -119,7 +110,7 @@ jobs:
python3 -m pip install python-snappy zstandard
- name: Setup C# for Generating Interop Data
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
Expand Down Expand Up @@ -188,4 +179,4 @@ jobs:
java -version
mvn -version
#MAVEN_OPTS="-Dsurefire.excludes=*TestCustomCodec*,*TestAllCodecs*,*TestNettyServer*" ./build.sh clean test
./build.sh clean test
./build.sh clean test

0 comments on commit 99c6851

Please sign in to comment.