Update bot_check.yml

This commit is contained in:
molanp 2024-12-18 22:55:48 +08:00 committed by GitHub
parent 96b4567146
commit 5f3e76bd17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,17 +56,17 @@ jobs:
- name: Install dependencies
if: steps.cache-poetry.outputs.cache-hit != 'true'
run: |
rm -rf poetry.lock
rm -rf poetry.lock
poetry source remove aliyun
poetry install --no-root
- name: Install playwright
if: steps.cache-playwright.outputs.cache-hit != 'true'
run: |
poetry run sudo apt-get update
poetry run sudo apt-get install -y libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-libav flite x264 libx264-dev
poetry run pip install playwright
poetry run sudo playwright install-deps
poetry run sudo playwright install-deps
poetry run sudo playwright install
- name: Run tests