From dc432e7377e724dfbbf8dd895edf5edded131efe Mon Sep 17 00:00:00 2001 From: jonathan zollinger Date: Wed, 11 Jun 2025 11:01:59 -0600 Subject: [PATCH 1/4] fix(ci): workflow no longer call submodule to test --- .github/workflows/TestAndCompile.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/TestAndCompile.yml b/.github/workflows/TestAndCompile.yml index e5b70b5..18dd941 100644 --- a/.github/workflows/TestAndCompile.yml +++ b/.github/workflows/TestAndCompile.yml @@ -16,4 +16,4 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} native-image-job-reports: 'true' - name: call gradle to run tests and then compile - run: ./gradlew test cli:nativeCompile \ No newline at end of file + run: ./gradlew test nativeCompile \ No newline at end of file From 394eb0cccbc0667fef416d547d3e646abd076ca1 Mon Sep 17 00:00:00 2001 From: jonathan zollinger Date: Wed, 11 Jun 2025 11:20:08 -0600 Subject: [PATCH 2/4] fix(test): update test email --- .../org/justserve/client/UserClientSpec.groovy | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/test/groovy/org/justserve/client/UserClientSpec.groovy b/src/test/groovy/org/justserve/client/UserClientSpec.groovy index e227bd9..29108df 100644 --- a/src/test/groovy/org/justserve/client/UserClientSpec.groovy +++ b/src/test/groovy/org/justserve/client/UserClientSpec.groovy @@ -14,26 +14,11 @@ class UserClientSpec extends Specification { @Shared UserClient userClient -// def "search users using slimSearch"() { -// when: -// def response = userClient."${methodName}"(new UserSearchRequest("barney", 0, 10)) -// -// then: -// response.status() == HttpStatus.OK -// -// and: -// response.body().getUsers() != null -// -// where: -// methodName | _ -// "userSearchSlim" | _ -// "userSearch" | _ -// } def "get tempPassword for user"() { when: def response = userClient.getTempPassword( - new UserHashRequest("jonathan.zollinger+jimmyhook@gmail.com", null)) + new UserHashRequest("jimmy@justserve.org", null)) then: response.status() == HttpStatus.OK From 71a2ccf91700a2f0edc5a5d32a99198cd88d5c41 Mon Sep 17 00:00:00 2001 From: jonathan zollinger Date: Wed, 11 Jun 2025 11:28:39 -0600 Subject: [PATCH 3/4] fix(ci): add env var for auth --- .github/workflows/TestAndCompile.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/TestAndCompile.yml b/.github/workflows/TestAndCompile.yml index 18dd941..cc6c126 100644 --- a/.github/workflows/TestAndCompile.yml +++ b/.github/workflows/TestAndCompile.yml @@ -4,6 +4,9 @@ jobs: build: name: test and compile on ${{ matrix.os }} runs-on: ${{ matrix.os }} + env: + MICRONAUT_HTTP_SERVICES_JUSTSERVE_TOKEN: ${{ secrets.MICRONAUT_HTTP_SERVICES_JUSTSERVE_TOKEN }} + strategy: matrix: os: [macos-latest, windows-latest, ubuntu-latest] From e6d6f85cf32150f92eb3dd811501328d5ce55829 Mon Sep 17 00:00:00 2001 From: jonathan zollinger Date: Wed, 11 Jun 2025 11:39:18 -0600 Subject: [PATCH 4/4] fix(ci): correct JVM version --- .github/workflows/TestAndCompile.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/TestAndCompile.yml b/.github/workflows/TestAndCompile.yml index cc6c126..819f1d6 100644 --- a/.github/workflows/TestAndCompile.yml +++ b/.github/workflows/TestAndCompile.yml @@ -14,8 +14,8 @@ jobs: - uses: actions/checkout@v4 - uses: graalvm/setup-graalvm@v1 with: - java-version: '17' - distribution: 'graalvm' + java-version: '21' + distribution: 'graalvm-community' github-token: ${{ secrets.GITHUB_TOKEN }} native-image-job-reports: 'true' - name: call gradle to run tests and then compile