Skip to content

Commit

Permalink
[CI] Adjust check-samples.yml for Java 21
Browse files Browse the repository at this point in the history
Exclude the 'sample-signup-function' as it does not compile w/ Java 21
  • Loading branch information
onobc committed Mar 22, 2024
1 parent 19957ac commit bc95fd5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/check-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ jobs:
include:
- javaVersion: 17
springBootVersion: "${{ needs.prerequisites.outputs.boot_version }}"
samplesTarget: ':runAllSampleTests'
- javaVersion: 21
springBootVersion: "${{ needs.prerequisites.outputs.boot_version }}"
samplesTarget: ':runAllSampleTests -x :spring-pulsar-sample-apps:sample-pulsar-functions:sample-signup-function:test'
runs-on: ubuntu-latest
if: needs.prerequisites.outputs.runjobs
steps:
Expand All @@ -64,4 +66,4 @@ jobs:
-PspringBootVersion="$BOOT_VERSION" \
-PtestToolchain="$JAVA_VERSION" \
-PsampleTests \
:runAllSampleTests
${{ matrix.samplesTarget }}

0 comments on commit bc95fd5

Please sign in to comment.