3939 fail-fast : false
4040 matrix :
4141 os : [ubuntu-latest, windows-latest, macos-latest]
42- python-version : ['3.9', 'pypy-3.7 -v7.x']
42+ python-version : ['3.9', 'pypy-3.9 -v7.x']
4343 steps :
4444 - uses : actions/checkout@v3
4545 - name : Setup Python
@@ -48,11 +48,17 @@ jobs:
4848 python-version : ${{ matrix.python-version }}
4949 cache : ' pipenv'
5050 - name : Install pipenv
51- run : pipx install pipenv
51+ run : curl https://raw.githubusercontent.com/pypa/ pipenv/master/get-pipenv.py | python
5252 - name : Install dependencies
53+ shell : pwsh
5354 run : |
54- cd __tests__/data
55- pipenv install --verbose
55+ mv ./__tests__/data/Pipfile.lock .
56+ mv ./__tests__/data/Pipfile .
57+ if ("${{ matrix.python-version }}" -Match "pypy") {
58+ pipenv install --keep-outdated --python pypy
59+ } else {
60+ pipenv install --keep-outdated --python ${{ matrix.python-version }}
61+ }
5662
5763 python-poetry-dependencies-caching :
5864 name : Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }})
@@ -66,15 +72,15 @@ jobs:
6672 - uses : actions/checkout@v3
6773 - name : Install poetry
6874 run : pipx install poetry
75+ - name : Init pyproject.toml
76+ run : mv ./__tests__/data/pyproject.toml .
6977 - name : Setup Python
7078 uses : ./
7179 with :
7280 python-version : ${{ matrix.python-version }}
7381 cache : ' poetry'
74- - name : Init pyproject.toml
75- run : poetry init -n
7682 - name : Install dependencies
77- run : poetry add flake8
83+ run : poetry install
7884
7985 python-pip-dependencies-caching-path :
8086 name : Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }})
@@ -102,7 +108,7 @@ jobs:
102108 fail-fast : false
103109 matrix :
104110 os : [ubuntu-latest, windows-latest, macos-latest]
105- python-version : ['3.9', 'pypy-3.7 -v7.x']
111+ python-version : ['3.9', 'pypy-3.9 -v7.x']
106112 steps :
107113 - uses : actions/checkout@v3
108114 - name : Setup Python
@@ -112,8 +118,14 @@ jobs:
112118 cache : ' pipenv'
113119 cache-dependency-path : ' **/pipenv-requirements.txt'
114120 - name : Install pipenv
115- run : pipx install pipenv
121+ run : curl https://raw.githubusercontent.com/pypa/ pipenv/master/get-pipenv.py | python
116122 - name : Install dependencies
123+ shell : pwsh
117124 run : |
118- cd __tests__/data
119- pipenv install --verbose
125+ mv ./__tests__/data/Pipfile.lock .
126+ mv ./__tests__/data/Pipfile .
127+ if ("${{ matrix.python-version }}" -Match "pypy") {
128+ pipenv install --keep-outdated --python pypy
129+ } else {
130+ pipenv install --keep-outdated --python ${{ matrix.python-version }}
131+ }
0 commit comments