update ci

This commit is contained in:
felinae98 2022-02-24 15:30:49 +08:00
parent 6cdb4e625e
commit ee0a7d7f39
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610

View File

@ -151,16 +151,17 @@ jobs:
test:
docker:
- image: cimg/python:3.9
# environment:
environment:
BISON_SKIP_BROWSER_CHECK: true
# BISON_BROWSER: wsc://localhost:3000
steps:
- checkout
# - run: sed -e '41,45d' -i pyproject.toml
- python/install-packages:
pkg-manager: poetry
- run:
name: Install browser
command: poetry run playwright install-deps && poetry run playwright install chromium
# - run:
# name: Install browser
# command: poetry run playwright install-deps && poetry run playwright install chromium
- run:
name: Coverage test
command: poetry run pytest --cov-report html --cov-report xml --cov=./src/plugins/nonebot_bison --junitxml=test-results/junit.xml