From 30cc07c03fb7b0687f9c5d861925ac5e73c02663 Mon Sep 17 00:00:00 2001 From: Sebastian Arellanes Date: Thu, 5 Sep 2024 16:17:52 -0700 Subject: [PATCH 1/2] Add test-summary to gh workflow --- .github/workflows/pull_request.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 8496ad3..fbad31c 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -37,3 +37,9 @@ jobs: - name: Run tests run: CI=true sbt +test + + - name: Test summary + if: always() # Always run, even if previous steps failed + uses: test-summary/action@v2 + with: + paths: "**/target/test-reports/*.xml" From 51ef787f4bfb0984eb2bfa276349a00055b913f0 Mon Sep 17 00:00:00 2001 From: Sebastian Arellanes Date: Thu, 5 Sep 2024 16:20:26 -0700 Subject: [PATCH 2/2] scalafmt --- .../src/test/scala/controllers/AdminControllerSpec.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spra-play-server/src/test/scala/controllers/AdminControllerSpec.scala b/spra-play-server/src/test/scala/controllers/AdminControllerSpec.scala index 7194e23..cd58646 100644 --- a/spra-play-server/src/test/scala/controllers/AdminControllerSpec.scala +++ b/spra-play-server/src/test/scala/controllers/AdminControllerSpec.scala @@ -680,7 +680,7 @@ class AdminControllerSpec extends PlayPostgresSpec with AdminUtils { responseMetadata.head.nonEmpty mustBe true } - + "return new user id" in withApiClient { implicit client => val user = createUser.futureValue val response = client.getTableMetadata(usersSettings.tableName, List("name", "ASC"), List(0, 9), "{}").futureValue