mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-06 20:06:12 +08:00
Update pytest.yml
This commit is contained in:
parent
437c22de83
commit
5b6411a22b
22
.github/workflows/pytest.yml
vendored
22
.github/workflows/pytest.yml
vendored
@ -18,15 +18,15 @@ jobs:
|
|||||||
run: poetry run playwright install-deps && poetry run playwright install chromium
|
run: poetry run playwright install-deps && poetry run playwright install chromium
|
||||||
- name: Coverage test
|
- name: Coverage test
|
||||||
run: poetry run pytest -v --cov-report=xml --cov=./src/plugins/nonebot_bison -k 'not compare'
|
run: poetry run pytest -v --cov-report=xml --cov=./src/plugins/nonebot_bison -k 'not compare'
|
||||||
- name: Upload coverage to Codecov
|
# - name: Upload coverage to Codecov
|
||||||
uses: codecov/codecov-action@v2
|
# uses: codecov/codecov-action@v2
|
||||||
with:
|
# with:
|
||||||
directory: ./coverage/reports/
|
# directory: ./coverage/reports/
|
||||||
env_vars: ubuntu-latest,'3.10'
|
# env_vars: ubuntu-latest,'3.10'
|
||||||
fail_ci_if_error: true
|
# fail_ci_if_error: true
|
||||||
files: ./coverage.xml
|
# files: ./coverage.xml
|
||||||
flags: unittests
|
# flags: unittests
|
||||||
name: codecov-umbrella
|
# name: codecov-umbrella
|
||||||
path_to_write_report: ./coverage/codecov_report.txt
|
# path_to_write_report: ./coverage/codecov_report.txt
|
||||||
verbose: true
|
# verbose: true
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user