From 35dd28d08be55dcd37b9c3ed100dae54ca0b6849 Mon Sep 17 00:00:00 2001 From: "lilong.129" Date: Wed, 21 Aug 2024 16:21:11 +0800 Subject: [PATCH] fix: install python dependency --- .github/workflows/unittest.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 4dd7b46..007445c 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -23,8 +23,10 @@ jobs: go-version: ${{ matrix.go-version }} - name: Install Python plugin dependencies run: | - python3 -m venv .venv - source .venv/bin/activate + if [ "$RUNNER_OS" == "macOS" ]; then + python3 -m venv .venv + source .venv/bin/activate + fi python3 -m pip install funppy - name: Checkout code uses: actions/checkout@v2