diff --git a/.github/workflows/e2e-cache.yml b/.github/workflows/e2e-cache.yml index d15c6f2b..707fba17 100644 --- a/.github/workflows/e2e-cache.yml +++ b/.github/workflows/e2e-cache.yml @@ -42,16 +42,19 @@ jobs: python-version: ['3.7', '3.8', '3.9', 'pypy-3.7-v7.3.5', 'pypy-3.7-v7.x'] steps: - uses: actions/checkout@v2 - - name: Install pipenv - run: pipx install pipenv - name: Setup Python uses: ./ with: python-version: ${{ matrix.python-version }} cache: 'pipenv' + - run: pip install --user pipenv - name: Install dependencies - run: pipenv install flake8 - + shell: pwsh + run: | + if ($IsMacOS) { + $env:PATH += ":/Users/runner/.local/bin" + } + pipenv install flake8 python-pip-dependencies-caching-path: name: Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) runs-on: ${{ matrix.os }} @@ -81,13 +84,17 @@ jobs: python-version: ['3.7', '3.8', '3.9', 'pypy-3.7-v7.3.5', 'pypy-3.7-v7.x'] steps: - uses: actions/checkout@v2 - - name: Install pipenv - run: pipx install pipenv - name: Setup Python uses: ./ with: python-version: ${{ matrix.python-version }} cache: 'pipenv' cache-dependency-path: '**/requirements-linux.txt' + - run: pip install --user pipenv - name: Install dependencies - run: pipenv install flake8 \ No newline at end of file + shell: pwsh + run: | + if ($IsMacOS) { + $env:PATH += ":/Users/runner/.local/bin" + } + pipenv install flake8 \ No newline at end of file