Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
remove codecov (#1555)
Browse files Browse the repository at this point in the history
  • Loading branch information
barry-jin authored Apr 15, 2021
1 parent f1b94bb commit f71993d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/unittests-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,6 @@ jobs:
cat jobid.log | xargs -i aws s3api wait object-exists --bucket gluon-nlp-dev --key batch/{}/coverage.xml
cat jobid.log | xargs -i aws s3 cp s3://gluon-nlp-dev/batch/{}/coverage.xml ./coverage.xml
- name: Upload coverage to Codecov
run: |
curl -s https://codecov.io/bash -o codecov.sh
if [ "$EVENT_NAME" == "push" ]; then \
bash codecov.sh -f ./coverage.xml -n -F -B v0.x; \
else \
bash codecov.sh -f ./coverage.xml -n -F -B v0.x -C ${{ github.event.pull_request.head.sha }} -P ${{ github.event.pull_request.number }}; \
fi
env:
EVENT_NAME: ${{ github.event_name }}

- name: Upload Cloud Watch Log Stream
if: ${{ failure() || success() }}
uses: actions/upload-artifact@v2
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,6 @@ jobs:
cat jobid.log | xargs -i aws s3api wait object-exists --bucket gluon-nlp-dev --key batch/{}/coverage.xml
cat jobid.log | xargs -i aws s3 cp s3://gluon-nlp-dev/batch/{}/coverage.xml ./coverage.xml
- name: Upload coverage to Codecov
run: |
curl -s https://codecov.io/bash -o codecov.sh
if [ "$EVENT_NAME" == "push" ]; then \
bash codecov.sh -f ./coverage.xml -n -F -B v0.x; \
else \
bash codecov.sh -f ./coverage.xml -n -F -B v0.x -C ${{ github.event.pull_request.head.sha }} -P ${{ github.event.pull_request.number }}; \
fi
env:
EVENT_NAME: ${{ github.event_name }}

- name: Upload Cloud Watch Log Stream
if: ${{ failure() || success() }}
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit f71993d

Please sign in to comment.