Skip to content

Commit

Permalink
modify after test to fix codeclimate
Browse files Browse the repository at this point in the history
  • 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.
22 changes: 20 additions & 2 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e511cdf

Please sign in to comment.