File tree Expand file tree Collapse file tree 3 files changed +21
-54
lines changed
Expand file tree Collapse file tree 3 files changed +21
-54
lines changed Original file line number Diff line number Diff line change 1+ name : Workflow for Codecov example-python
2+ on : [push, pull_request]
3+ jobs :
4+ run :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - name : Checkout
8+ uses : actions/checkout@v2
9+ - name : Run tests and collect coverage
10+ run : coverage run tests.py
11+ - name : Download and validate Codecov uploader
12+ run : |
13+ curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import # One-time step
14+ curl -Os https://uploader.codecov.io/latest/linux/codecov
15+ curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
16+ curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig
17+ gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
18+ shasum -a 256 -c codecov.SHA256SUM
19+ chmod +x codecov
20+ - name : Upload coverage to Codecov
21+ run : ./codecov
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments