From abfb8f2c21235ec6174120b05ab971606da1a38a Mon Sep 17 00:00:00 2001 From: voidking Date: Wed, 24 Jul 2024 20:07:28 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20run=5Finstall=5Fdeps.sh=20=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E4=B8=AD=E7=9A=84=E5=86=85=E5=AE=B9=E7=A7=BB=E5=85=A5?= =?UTF-8?q?workflow=20yaml,=20=E9=99=8D=E4=BD=8E=E5=AE=89=E5=85=A8?= =?UTF-8?q?=E9=A3=8E=E9=99=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/fulltest.yaml | 5 ++++- .github/workflows/unittest.yaml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fulltest.yaml b/.github/workflows/fulltest.yaml index 70c800481..d6ccd0e9b 100644 --- a/.github/workflows/fulltest.yaml +++ b/.github/workflows/fulltest.yaml @@ -30,7 +30,10 @@ jobs: cache: 'pip' - name: Install dependencies run: | - sh tests/scripts/run_install_deps.sh + - python -m pip install --upgrade pip + - pip install -e .[test] + - npm install -g @mermaid-js/mermaid-cli + - playwright install --with-deps - name: Run reverse proxy script for ssh service if: contains(github.ref, '-debugger') continue-on-error: true diff --git a/.github/workflows/unittest.yaml b/.github/workflows/unittest.yaml index 0ee053e43..600ba1d58 100644 --- a/.github/workflows/unittest.yaml +++ b/.github/workflows/unittest.yaml @@ -27,7 +27,10 @@ jobs: cache: 'pip' - name: Install dependencies run: | - sh tests/scripts/run_install_deps.sh + - python -m pip install --upgrade pip + - pip install -e .[test] + - npm install -g @mermaid-js/mermaid-cli + - playwright install --with-deps - name: Test with pytest run: | export ALLOW_OPENAI_API_CALL=0