Skip to content

Commit 6bd7156

Browse files
committed
fix: install python dependency
1 parent 25b1bca commit 6bd7156

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/unittest.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,14 @@ jobs:
2121
uses: actions/setup-go@v2
2222
with:
2323
go-version: ${{ matrix.go-version }}
24-
- name: Install Python plugin dependencies
24+
- name: Install Python plugin dependencies for macos
25+
if: matrix.os == 'macos-latest'
26+
run: |
27+
python3 -m venv .venv
28+
source .venv/bin/activate
29+
python3 -m pip install funppy
30+
- name: Install Python plugin dependencies for linux/windows
31+
if: matrix.os == 'ubuntu-latest' || matrix.os == 'windows-latest'
2532
run: python3 -m pip install funppy
2633
- name: Checkout code
2734
uses: actions/checkout@v2

0 commit comments

Comments
 (0)