File tree Expand file tree Collapse file tree 2 files changed +19
-10
lines changed
Expand file tree Collapse file tree 2 files changed +19
-10
lines changed Original file line number Diff line number Diff line change 1+ version : 2.1
2+ orbs :
3+ codecov : codecov/codecov:3.0.0
4+ jobs :
5+ build-and-test :
6+ docker :
7+ - image : cimg/python:3.9.6
8+ steps :
9+ - checkout
10+ - run :
11+ name : Install dependencies
12+ command : pip install -r requirements.txt
13+ - run :
14+ name : Run tests and collect coverage
15+ run : |
16+ coverage run tests.py
17+ coverage xml
18+ - codecov/upload
Original file line number Diff line number Diff line change 1212 run : |
1313 coverage run tests.py
1414 coverage xml
15- - name : Download and validate Codecov uploader
16- run : |
17- curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import # One-time step
18- curl -Os https://uploader.codecov.io/latest/linux/codecov
19- curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
20- curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig
21- gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
22- shasum -a 256 -c codecov.SHA256SUM
23- chmod +x codecov
2415 - name : Upload coverage to Codecov
25- run : . /codecov
16+ uses : codecov /codecov-action@v2
You can’t perform that action at this time.
0 commit comments