From 5942a4f38ecf469915914d18626b5fb2b005752c Mon Sep 17 00:00:00 2001 From: ds-lcapellino Date: Mon, 29 Jul 2024 10:13:07 +0200 Subject: [PATCH] feature: 1235 fix github action --- .github/workflows/xray-cucumber-association.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/xray-cucumber-association.yaml b/.github/workflows/xray-cucumber-association.yaml index 39686eef46..5be86fa4ca 100644 --- a/.github/workflows/xray-cucumber-association.yaml +++ b/.github/workflows/xray-cucumber-association.yaml @@ -47,6 +47,7 @@ jobs: env: JIRA_USERNAME: ${{ secrets.ASSOCIATION_TX_JIRA_USERNAME }} JIRA_PASSWORD: ${{ secrets.ASSOCIATION_TX_JIRA_PASSWORD }} + working-directory: tx-cucumber-tests # JIRA filter 11349: project = "[TR] FOSS - Open Source (Impl.)" AND issuetype = Test AND "Test Type" = Cucumber AND status = Ready AND labels = INTEGRATION_TEST AND (environment ~ DEV OR environment ~ "INT") # Downloads all feature files of cucumber tests inside TRI project run: | @@ -66,9 +67,9 @@ jobs: # Required step due to fact that jira will name feature files differently with each feature added and that will cause duplicate test runs - name: Cleanup repository feature files if: ${{ steps.download.outputs.http_response == '200' }} - #working-directory: tx-cucumber-tests + working-directory: tx-cucumber-tests run: | - rm -r tx-cucumber-tests/src/test/resources/features/* + rm -r src/test/resources/features/* - name: Build with Maven if: ${{ steps.download.outputs.http_response == '200' }} @@ -78,7 +79,6 @@ jobs: SUPERVISOR_PASSWORD: ${{ secrets.ASSOCIATION_SUPERVISOR_PASSWORD }} E2E_TXA_HOST: ${{ secrets.ASSOCIATION_E2E_TXA_HOST }} E2E_TXB_HOST: ${{ secrets.ASSOCIATION_E2E_TXB_HOST }} - #working-directory: tx-cucumber-tests run: | unzip -o tx-cucumber-tests/features.zip -d tx-cucumber-tests/src/test/resources/features mvn -pl tx-models,tx-cucumber-tests --batch-mode clean install -D"cucumber.filter.tags"="@trace-x-automated" -P association