Skip to content

Commit

Permalink
chore: try to ignore Java 8 on glpv2
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudroques committed Aug 26, 2024
1 parent 425db1d commit 8cf93fc
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,23 @@ jobs:
cache: gradle

# Compile / Test / Package are separate steps so the reason for any failure is more obvious in GitHub UI
- name: Compile
if: needs.workflow_config.outputs.do_test_linux == 'true'
run: gradle -q compileJava --no-daemon
- name: Compile (excluding plantuml-gplv2 on Java 8)
if: needs.workflow_config.outputs.do_test_linux == 'true'
run: |
if [ "${{ matrix.java_version }}" == "8" ]; then
gradle -q compileJava --no-daemon -x :plantuml-gplv2:compileJava
else
gradle -q compileJava --no-daemon
fi
- name: Test
if: needs.workflow_config.outputs.do_test_linux == 'true'
run: gradle test --no-daemon -i
- name: Test (excluding plantuml-gplv2 on Java 8)
if: needs.workflow_config.outputs.do_test_linux == 'true'
run: |
if [ "${{ matrix.java_version }}" == "8" ]; then
gradle test --no-daemon -x :plantuml-gplv2:test -i
else
gradle test --no-daemon -i
fi
- name: Upload test reports
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 8cf93fc

Please sign in to comment.