mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
Update bot_check.yml
This commit is contained in:
parent
96b4567146
commit
5f3e76bd17
6
.github/workflows/bot_check.yml
vendored
6
.github/workflows/bot_check.yml
vendored
@ -56,17 +56,17 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: steps.cache-poetry.outputs.cache-hit != 'true'
|
if: steps.cache-poetry.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
rm -rf poetry.lock
|
rm -rf poetry.lock
|
||||||
poetry source remove aliyun
|
poetry source remove aliyun
|
||||||
poetry install --no-root
|
poetry install --no-root
|
||||||
|
|
||||||
- name: Install playwright
|
- name: Install playwright
|
||||||
if: steps.cache-playwright.outputs.cache-hit != 'true'
|
if: steps.cache-playwright.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
poetry run sudo apt-get update
|
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 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 pip install playwright
|
||||||
poetry run sudo playwright install-deps
|
poetry run sudo playwright install-deps
|
||||||
poetry run sudo playwright install
|
poetry run sudo playwright install
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user