File tree Expand file tree Collapse file tree 7 files changed +56
-56
lines changed
Expand file tree Collapse file tree 7 files changed +56
-56
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+
5+ jobs :
6+ build :
7+ docker :
8+ - image : cimg/python:3.9.6
9+ steps :
10+ - checkout
11+ - run :
12+ name : Install dependencies
13+ command : pip install -r requirements.txt
14+ - run :
15+ name : Run tests and collect coverage
16+ command : |
17+ coverage run tests.py
18+ coverage xml
19+ - codecov/upload
20+
21+ workflow :
22+ version : 2.1
23+ build-test :
24+ jobs :
25+ - build
Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : pip
4+ directory : " /"
5+ schedule :
6+ interval : daily
7+ open-pull-requests-limit : 10
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 : Set up Python 3.9
10+ uses : actions/setup-python@v2
11+ with :
12+ python-version : 3.9
13+ - name : Install dependencies
14+ run : pip install -r requirements.txt
15+ - name : Run tests and collect coverage
16+ run : |
17+ coverage run tests.py
18+ coverage xml
19+ - name : Upload coverage to Codecov
20+ uses : codecov/codecov-action@v2
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55## Guide
66
77### GitHub Actions
8- A minimal configuration for public repos :
8+ A minimal configuration might look like :
99
1010``` yml
1111steps :
1212 # (Other steps go here)
1313 - name : " Upload coverage to Codecov"
14- uses : codecov/codecov-action@v1
14+ uses : codecov/codecov-action@v2
1515 with :
1616 fail_ci_if_error : true
17+ token : ${{ secrets.CODECOV_TOKEN }} # not required for public repos
1718` ` `
1819
1920See [codecov/codecov-action](https://github.com/codecov/codecov-action) for
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ coverage
You can’t perform that action at this time.
0 commit comments