diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 007445c..fd65c6d 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -21,13 +21,13 @@ jobs: uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} - - name: Install Python plugin dependencies + - name: Install Python venv + if: matrix.os == 'macos-latest' run: | - if [ "$RUNNER_OS" == "macOS" ]; then - python3 -m venv .venv - source .venv/bin/activate - fi - python3 -m pip install funppy + python3 -m venv .venv + source .venv/bin/activate + - name: Install Python plugin dependencies + run: python3 -m pip install funppy - name: Checkout code uses: actions/checkout@v2 - name: Run coverage