diff --git a/.github/workflows/e2e-cache.yml b/.github/workflows/e2e-cache.yml index d28fa2c05..0aea4b776 100644 --- a/.github/workflows/e2e-cache.yml +++ b/.github/workflows/e2e-cache.yml @@ -39,7 +39,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.9', 'pypy-3.7-v7.x'] + python-version: ['3.9', 'pypy-3.9-v7.x'] steps: - uses: actions/checkout@v3 - name: Setup Python @@ -50,10 +50,15 @@ jobs: - name: Install pipenv run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python - name: Install dependencies + shell: pwsh run: | mv ./__tests__/data/Pipfile.lock . mv ./__tests__/data/Pipfile . - pipenv install --keep-outdated + if ("${{ matrix.python-version }}" -Match "pypy") { + pipenv install --keep-outdated --python pypy + } else { + pipenv install --keep-outdated --python ${{ matrix.python-version }} + } python-poetry-dependencies-caching: name: Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) @@ -103,7 +108,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.9', 'pypy-3.7-v7.x'] + python-version: ['3.9', 'pypy-3.9-v7.x'] steps: - uses: actions/checkout@v3 - name: Setup Python @@ -115,7 +120,12 @@ jobs: - name: Install pipenv run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python - name: Install dependencies + shell: pwsh run: | mv ./__tests__/data/Pipfile.lock . mv ./__tests__/data/Pipfile . - pipenv install --keep-outdated \ No newline at end of file + if ("${{ matrix.python-version }}" -Match "pypy") { + pipenv install --keep-outdated --python pypy + } else { + pipenv install --keep-outdated --python ${{ matrix.python-version }} + } \ No newline at end of file