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

Commit f71993d

Browse files
authored
remove codecov (#1555)
1 parent f1b94bb commit f71993d

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

.github/workflows/unittests-gpu.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,6 @@ jobs:
7979
cat jobid.log | xargs -i aws s3api wait object-exists --bucket gluon-nlp-dev --key batch/{}/coverage.xml
8080
cat jobid.log | xargs -i aws s3 cp s3://gluon-nlp-dev/batch/{}/coverage.xml ./coverage.xml
8181
82-
- name: Upload coverage to Codecov
83-
run: |
84-
curl -s https://codecov.io/bash -o codecov.sh
85-
if [ "$EVENT_NAME" == "push" ]; then \
86-
bash codecov.sh -f ./coverage.xml -n -F -B v0.x; \
87-
else \
88-
bash codecov.sh -f ./coverage.xml -n -F -B v0.x -C ${{ github.event.pull_request.head.sha }} -P ${{ github.event.pull_request.number }}; \
89-
fi
90-
env:
91-
EVENT_NAME: ${{ github.event_name }}
92-
9382
- name: Upload Cloud Watch Log Stream
9483
if: ${{ failure() || success() }}
9584
uses: actions/upload-artifact@v2

.github/workflows/unittests.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,6 @@ jobs:
8282
cat jobid.log | xargs -i aws s3api wait object-exists --bucket gluon-nlp-dev --key batch/{}/coverage.xml
8383
cat jobid.log | xargs -i aws s3 cp s3://gluon-nlp-dev/batch/{}/coverage.xml ./coverage.xml
8484
85-
- name: Upload coverage to Codecov
86-
run: |
87-
curl -s https://codecov.io/bash -o codecov.sh
88-
if [ "$EVENT_NAME" == "push" ]; then \
89-
bash codecov.sh -f ./coverage.xml -n -F -B v0.x; \
90-
else \
91-
bash codecov.sh -f ./coverage.xml -n -F -B v0.x -C ${{ github.event.pull_request.head.sha }} -P ${{ github.event.pull_request.number }}; \
92-
fi
93-
env:
94-
EVENT_NAME: ${{ github.event_name }}
95-
9685
- name: Upload Cloud Watch Log Stream
9786
if: ${{ failure() || success() }}
9887
uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)