File tree 5 files changed +46
-54
lines changed
5 files changed +46
-54
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
+ 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.
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