Skip to content

Commit 1861a73

Browse files
Migrate to PyEnv in GitHub Actions so that we can still test on older Python versions.
1 parent 6dae98d commit 1861a73

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/tox.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ jobs:
1111
strategy:
1212
max-parallel: 4
1313
matrix:
14-
python-version: ['2.7', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11-dev']
14+
python-version: ['2.7', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
1515
pandas-presence: ['with_pandas', 'without_pandas']
1616
env:
1717
PYTHON_VERSION: ${{ matrix.python-version }}
1818
PANDAS_PRESENCE: ${{ matrix.pandas-presence }}
1919
steps:
2020
- uses: actions/checkout@v2
2121
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v2
22+
uses: gabrielfalcao/pyenv-action@v17
2323
with:
24-
python-version: ${{ matrix.python-version }}
24+
versions: "${{ matrix.python-version }}"
25+
command: pip install -U pip # upgrade pip after installing python
2526
- name: Install dependencies
2627
run: |
27-
python -m pip install --upgrade pip
2828
pip install tox tox-gh-actions
2929
- name: Test with tox
3030
run: |

0 commit comments

Comments
 (0)