From c6b70f5ee317bd25e49962fde62537499a02503e Mon Sep 17 00:00:00 2001 From: chinelo-obitube Date: Sun, 21 Jul 2024 03:34:37 +0100 Subject: [PATCH] rewrite coverage --- .github/workflows/test.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6e05343710..22c033aa93 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -104,6 +104,12 @@ jobs: run: | echo "GIT_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV echo "GIT_COMMIT_SHA=$GITHUB_SHA" >> $GITHUB_ENV + + - name: Set up AWS credentials + run: | + echo '[default]' > ~/.aws/credentials + echo "aws_access_key_id = ${{ secrets.AWS_ACCESS_KEY_ID }}" >> ~/.aws/credentials + echo "aws_secret_access_key = ${{ secrets.AWS_SECRET_ACCESS_KEY }}" >> ~/.aws/credentials # - name: Download test coverage reporter # env: @@ -137,5 +143,5 @@ jobs: -e GIT_COMMIT_SHA=$GITHUB_COMMIT_SHA \ -e CC_TEST_REPORTER_ID=$CC_TEST_REPORTER_ID \ -e GITHUB_JOB_NAME=$GITHUB_JOB_NAME \ - -e AWS_CONFIG_FILE=/app/credentials + -e AWS_CONFIG_FILE=/app/credentials \ api test/test-coverage.sh \ No newline at end of file