Skip to content

Commit f730fcd

Browse files
Install pyenv manually so we can get more recent versions of pyenv (and enable tests for 3.13).
1 parent 5b40a64 commit f730fcd

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

.github/workflows/tox.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,18 @@ jobs:
2121
PANDAS_PRESENCE: ${{ matrix.pandas-presence }}
2222
steps:
2323
- uses: actions/checkout@v2
24-
- uses: gabrielfalcao/pyenv-action@v17
25-
with:
26-
default: "${{ matrix.python-version }}"
24+
- name: Install PyEnv
25+
run: |
26+
curl https://pyenv.run | bash
27+
PYENV_ROOT="$HOME/.pyenv"
28+
PYENV_BIN="$PYENV_ROOT/bin"
29+
echo "$PYENV_BIN" >> $GITHUB_PATH
30+
echo "PYENV_ROOT=$PYENV_ROOT" >> $GITHUB_ENV
2731
- name: Install Python ${{ matrix.python-version }}
2832
run: |
29-
pyenv install "${{ matrix.python-version }}"
30-
pyenv local "${{ matrix.python-version }}"
31-
pyenv versions
33+
pyenv install "${{ matrix.python-version }}"
34+
pyenv local "${{ matrix.python-version }}"
35+
pyenv versions
3236
- name: Install dependencies
3337
run: |
3438
pip install -U pip

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = {py36,py37,py38,py39,py310,py311,py312}-{with_pandas,without_pandas}
2+
envlist = {py36,py37,py38,py39,py310,py311,py312,py313}-{with_pandas,without_pandas}
33

44
[gh-actions]
55
python =
@@ -10,6 +10,7 @@ python =
1010
3.10: py310
1111
3.11: py311
1212
3.12: py312
13+
3.13: py313
1314

1415
[testenv]
1516
deps=

0 commit comments

Comments
 (0)