-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modify after test to fix codeclimate
- Loading branch information
chinelo-obitube
authored and
chinelo-obitube
committed
Jul 19, 2024
1 parent
6592dd4
commit e511cdf
Showing
1 changed file
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -274,8 +274,26 @@ jobs: | |
run: | | ||
docker-compose exec -T -e GIT_COMMIT_SHA=${{ github.sha }} \ | ||
-e CC_TEST_REPORTER_ID=$CC_TEST_REPORTER_ID \ | ||
-e GITHUB_BRANCH=${{ github.head_ref || github.ref_name }} \ | ||
-e GITHUB_REF_NAME=${{ github.head_ref || github.ref_name }} \ | ||
-e GITHUB_PULL_REQUEST=${{ github.event.pull_request.number || 0 }} \ | ||
-e GITHUB_JOB=${{ github.job }} \ | ||
-e AWS_CONFIG_FILE=/app/credentials \ | ||
api test/test-coverage.sh | ||
api test/test-coverage.sh | ||
coverage: | ||
needs: [ contracts-test ] | ||
name: coverage | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
with: | ||
node-version: '12' | ||
- run: npm install -g yarn | ||
- run: yarn install | ||
- run: yarn build | ||
- uses: paambaati/[email protected] | ||
env: | ||
CC_TEST_REPORTER_ID: $CC_TEST_REPORTER_ID | ||
with: | ||
coverageCommand: yarn coverage |