Commit d5e11b9 1 parent c81894b commit d5e11b9 Copy full SHA for d5e11b9
File tree 2 files changed +6
-8
lines changed
2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 8
8
9
9
steps :
10
10
- uses : actions/checkout@v2
11
- - name : Set up Python 3.x
11
+ - name : Set up Python 3.10
12
12
uses : actions/setup-python@v2
13
13
with :
14
- python-version : 3.x
14
+ python-version : " 3.10 "
15
15
- name : Install dependencies
16
16
run : |
17
17
python -m pip install --upgrade pip
18
- pip install python-dateutil pytest mock pytest-cov coverage coveragepy-lcov
18
+ pip install python-dateutil pytest mock pytest-cov coverage
19
19
- name : Run Test
20
20
run : |
21
- py.test --cov coveralls --cov-report term-missing --cov=resources tests/
22
- - name : Covert to lcov
23
- run : |
24
- coveragepy-lcov
21
+ py.test --cov coveralls --cov-report term-missing --cov-report=lcov --cov=resources tests/
25
22
- name : Coveralls GitHub Action
26
23
uses :
coverallsapp/[email protected]
27
24
with :
28
25
github-token : ${{ secrets.GITHUB_TOKEN }}
29
- path-to-lcov : lcov.info
26
+ path-to-lcov : coverage.lcov
Original file line number Diff line number Diff line change 10
10
Thumbs.db
11
11
* ~
12
12
.cache
13
+ .coverage
You can’t perform that action at this time.
0 commit comments