Skip to content

Commit

Permalink
Add CodeCove (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
scolladon authored Apr 2, 2021
1 parent 4a934b0 commit f86ff26
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,14 @@ jobs:
- name: 'Build sgd'
run: yarn pack

- name: 'Install Code Climate Reporter'
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
./cc-test-reporter before-build
- name: 'ESlint'
run: yarn lint:fix

- name: 'Test coverage'
run: yarn test:coverage

- name: 'Code Climate coverage publishing'
run: ./cc-test-reporter after-build -t lcov -r ${{ secrets.CC_TEST_REPORTER_ID }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
continue-on-error: true

0 comments on commit f86ff26

Please sign in to comment.