From 7707183a0b440939b46f80b9f94946ad195f2c1d Mon Sep 17 00:00:00 2001 From: "angelo.andreussi" Date: Tue, 20 Feb 2024 11:13:27 +0100 Subject: [PATCH] creation of proper job in kapua CI to execute rest-api auth tests --- .github/workflows/kapua-ci.yaml | 11 +++++++++++ .../features/rest/authentication/RestAuth.feature | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/kapua-ci.yaml b/.github/workflows/kapua-ci.yaml index 130e74cfcd7..17fe08c5895 100755 --- a/.github/workflows/kapua-ci.yaml +++ b/.github/workflows/kapua-ci.yaml @@ -302,6 +302,17 @@ jobs: with: tag: '@endpoint' needs-docker-images: 'true' + test-api-auth: + needs: build + runs-on: ubuntu-latest + timeout-minutes: 45 + steps: + - name: Clones Kapua repo inside the runner + uses: actions/checkout@v3 + - uses: ./.github/actions/runTestsTaggedAs + with: + tag: '@rest_auth' + needs-docker-images: 'true' junit-tests: needs: build runs-on: ubuntu-latest diff --git a/qa/integration/src/test/resources/features/rest/authentication/RestAuth.feature b/qa/integration/src/test/resources/features/rest/authentication/RestAuth.feature index 914209cda24..3369f262df4 100644 --- a/qa/integration/src/test/resources/features/rest/authentication/RestAuth.feature +++ b/qa/integration/src/test/resources/features/rest/authentication/RestAuth.feature @@ -11,7 +11,7 @@ # Eurotech - initial API and implementation ############################################################################### @env_docker_base -@rest +@rest_auth Feature: REST API tests for User REST API tests for authentication via login-pw and access token. Refresh access token feature is also covered