This repository was archived by the owner on Jan 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +0
-22
lines changed Expand file tree Collapse file tree 2 files changed +0
-22
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments