mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-09 22:44:05 +08:00
Update unittest.yml
fix coveralls
This commit is contained in:
6
.github/workflows/unittest.yml
vendored
6
.github/workflows/unittest.yml
vendored
@@ -36,15 +36,13 @@ jobs:
|
|||||||
python -m httprunner.cli hrun -V
|
python -m httprunner.cli hrun -V
|
||||||
python -m httprunner.cli hrun -h
|
python -m httprunner.cli hrun -h
|
||||||
poetry run coverage run --source=httprunner -m unittest discover
|
poetry run coverage run --source=httprunner -m unittest discover
|
||||||
|
poetry run coverage report -m
|
||||||
- name: Coveralls GitHub Action
|
|
||||||
- name: Coveralls GitHub Action
|
- name: Coveralls GitHub Action
|
||||||
uses: coverallsapp/github-action@v1.0.1
|
uses: coverallsapp/github-action@v1.0.1
|
||||||
with:
|
with:
|
||||||
#
|
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# Path to lcov file
|
# Path to lcov file
|
||||||
# path-to-lcov: # default is ./coverage/lcov.info
|
path-to-lcov: .coverage # default is ./coverage/lcov.info
|
||||||
# Set to true if you are running parallel jobs, then use "parallel_finished: true" for the last action.
|
# Set to true if you are running parallel jobs, then use "parallel_finished: true" for the last action.
|
||||||
parallel: true # optional
|
parallel: true # optional
|
||||||
# Set to true for the last action when using "parallel: true".
|
# Set to true for the last action when using "parallel: true".
|
||||||
|
|||||||
Reference in New Issue
Block a user