Skip to content

Commit

Permalink
test: use java 21 in some smoke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
khalilou88 committed Dec 7, 2023
1 parent 1f52afa commit f0250ac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/smoke-affected.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
# os: [ubuntu-latest, macOS-latest, windows-latest]
os: [ubuntu-latest]
node_version: ['18']
java: ['17']
java: ['21']
runs-on: ${{matrix.os}}
env:
NX_RUN_GROUP: ${{ github.run_id }}-v${{matrix.java}}
Expand All @@ -39,4 +39,4 @@ jobs:

- run: npm run nx run-many -- --target=smoke-affected
env:
NX_MAVEN_CLI_OPTS: '--no-transfer-progress'
NX_MAVEN_CLI_OPTS: '--no-transfer-progress -Dmaven.plugin.validation=VERBOSE'
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ describe('@jnxplus/nx-gradle spring-boot smoke', () => {
execSync('npm i --save-dev @jnxplus/nx-gradle', execSyncOptions());

execSync(
'npx nx generate @jnxplus/nx-gradle:init --preset spring-boot',
'npx nx generate @jnxplus/nx-gradle:init --javaVersion 21 --preset spring-boot',
execSyncOptions(),
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ describe('@jnxplus/nx-maven spring-boot smoke', () => {
execSync('npm i --save-dev @jnxplus/nx-maven', execSyncOptions());

execSync(
'npx nx generate @jnxplus/nx-maven:init --dependencyManagement spring-boot-parent-pom',
'npx nx generate @jnxplus/nx-maven:init --javaVersion 21 --dependencyManagement spring-boot-parent-pom',
execSyncOptions(),
);

Expand Down

0 comments on commit f0250ac

Please sign in to comment.