drop self maintaining playwright, use nonebot-plugin-htmlrender, fix #25

This commit is contained in:
felinae98
2022-02-22 15:04:07 +08:00
parent 67972965ee
commit 3fdf91ac20
7 changed files with 316 additions and 380 deletions
+2 -2
View File
@@ -151,7 +151,6 @@ jobs:
test:
docker:
- image: cimg/python:3.9
- image: browserless/chrome
# environment:
# BISON_BROWSER: wsc://localhost:3000
steps:
@@ -164,7 +163,8 @@ jobs:
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 -k 'not compare'
command: poetry run pytest --cov-report html --cov-report xml --cov=./src/plugins/nonebot_bison --junitxml=test-results/junit.xml\
-k 'not compare and not render'
- store_test_results:
path: test-results
- run: