From e71b4fd53d011b6538735b182b235e8f9fb6010b Mon Sep 17 00:00:00 2001 From: chinelo-obitube Date: Tue, 5 Nov 2024 16:58:25 +0000 Subject: [PATCH] run alegre ci --- .github/workflows/ci-tests.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-tests.yaml b/.github/workflows/ci-tests.yaml index c58e7827..70466129 100644 --- a/.github/workflows/ci-tests.yaml +++ b/.github/workflows/ci-tests.yaml @@ -94,7 +94,7 @@ jobs: GITHUB_JOB_NAME: ${{ github.job }} CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} GITHUB_PULL_REQUEST: ${{ github.event_name}} - AWS_REGION: eu-west-1 + GITHUB_TEST_RESULT: ${{ steps.unit-tests.outcome}} run: | docker compose exec alegre coverage xml if [[ "GITHUB_PULL_REQUEST" != 'pull_request' && "$GITHUB_JOB_NAME" != "contract-testing" ]]; then ./cc-test-reporter after-build -t coverage.py -r $CC_TEST_REPORTER_ID --exit-code $GITHUB_TEST_RESULT; fi @@ -168,16 +168,17 @@ jobs: - name: Run contract Tests + id: contract-tests run: | docker compose exec alegre make contract_testing - name: After contract Test env: - GITHUB_E: ${{ github.event_name}} + GITHUB_PULL_REQUEST: ${{ github.event_name}} GITHUB_COMMIT_SHA: ${{ github.sha }} GITHUB_JOB_NAME: ${{ github.job }} CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} - AWS_REGION: eu-west-1 + GITHUB_TEST_RESULT: ${{ steps.contract-tests.outcome}} run: | docker compose exec alegre coverage xml if [[ "GITHUB_PULL_REQUEST" == "false" && "$GITHUB_JOB_NAME" != "contract-testing" ]]; then ./cc-test-reporter after-build -t coverage.py -r $CC_TEST_REPORTER_ID --exit-code $GITHUB_TEST_RESULT; fi