diff --git a/.github/composite/test/backend-test/action.yml b/.github/composite/test/backend-test/action.yml index cc55161cc..63ecf404e 100644 --- a/.github/composite/test/backend-test/action.yml +++ b/.github/composite/test/backend-test/action.yml @@ -49,4 +49,15 @@ runs: - name: Run script shell: bash - run: bun run .github/scripts/test/run-backend-tests --should-upload-coverage=${{ inputs.UPLOAD_TEST_COV }} + run: bun .github/scripts/test/run-backend-tests --should-upload-coverage=${{ inputs.UPLOAD_TEST_COV }} + env: + UPLOAD_TEST_COV: ${{ inputs.UPLOAD_TEST_COV }} + + - name: Publish Junit Report + uses: mikepenz/action-junit-report@v6 + if: ${{ always() }} + with: + report_paths: "**/target/surefire-reports/TEST-*.xml" + detailed_summary: true + include_time_in_summary: true + fail_on_failure: false \ No newline at end of file diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index c4fe74088..e7836c2e0 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -11,6 +11,7 @@ permissions: contents: write issues: write pull-requests: write + checks: write concurrency: group: ci-${{ github.ref }} diff --git a/.github/workflows/deploy-command.yml b/.github/workflows/deploy-command.yml index 4b2c392b8..2d4ba363c 100644 --- a/.github/workflows/deploy-command.yml +++ b/.github/workflows/deploy-command.yml @@ -26,6 +26,7 @@ permissions: issues: write pull-requests: write statuses: write + checks: write jobs: getPRHead: diff --git a/src/test/java/org/patinanetwork/codebloom/api/admin/AdminControllerTest.java b/src/test/java/org/patinanetwork/codebloom/api/admin/AdminControllerTest.java index dc079f10c..5225f55a8 100644 --- a/src/test/java/org/patinanetwork/codebloom/api/admin/AdminControllerTest.java +++ b/src/test/java/org/patinanetwork/codebloom/api/admin/AdminControllerTest.java @@ -511,7 +511,7 @@ void testDeleteDiscordMessageSuccess() { ResponseEntity> response = adminController.deleteDiscordMessage(body, request); assertEquals(HttpStatus.OK, response.getStatusCode()); assertNotNull(response.getBody()); - assertTrue(response.getBody().isSuccess()); + assertFalse(response.getBody().isSuccess()); assertEquals("Discord Message successfully deleted", response.getBody().getMessage()); verify(protector).validateAdminSession(request);