mirror of
https://github.com/actions/setup-python.git
synced 2024-11-29 04:15:25 +01:00
Merge pull request #451 from dmitry-shibanov/fx-pipenv-python-version
Fx pipenv python version
This commit is contained in:
commit
78a2330b92
1 changed files with 14 additions and 4 deletions
18
.github/workflows/e2e-cache.yml
vendored
18
.github/workflows/e2e-cache.yml
vendored
|
@ -39,7 +39,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
|
@ -50,10 +50,15 @@ jobs:
|
||||||
- name: Install pipenv
|
- name: Install pipenv
|
||||||
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
|
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
mv ./__tests__/data/Pipfile.lock .
|
mv ./__tests__/data/Pipfile.lock .
|
||||||
mv ./__tests__/data/Pipfile .
|
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:
|
python-poetry-dependencies-caching:
|
||||||
name: Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }})
|
name: Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }})
|
||||||
|
@ -103,7 +108,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
|
@ -115,7 +120,12 @@ jobs:
|
||||||
- name: Install pipenv
|
- name: Install pipenv
|
||||||
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
|
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
mv ./__tests__/data/Pipfile.lock .
|
mv ./__tests__/data/Pipfile.lock .
|
||||||
mv ./__tests__/data/Pipfile .
|
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 }}
|
||||||
|
}
|
Loading…
Reference in a new issue