From e6ed5e2cbe688db09bf95e2a0e0df6631f302166 Mon Sep 17 00:00:00 2001 From: "lilong.129" Date: Wed, 21 Aug 2024 16:27:16 +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 fd65c6d..e17d3ad 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -21,12 +21,14 @@ jobs: uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} - - name: Install Python venv + - name: Install Python plugin dependencies for macos if: matrix.os == 'macos-latest' run: | python3 -m venv .venv source .venv/bin/activate - - name: Install Python plugin dependencies + python3 -m pip install funppy + - name: Install Python plugin dependencies for linux/windows + if: matrix.os == 'ubuntu-latest' || matrix.os == 'windows-latest' run: python3 -m pip install funppy - name: Checkout code uses: actions/checkout@v2