Skip to content

Commit

Permalink
Install pyenv manually so we can get more recent versions of pyenv …
Browse files Browse the repository at this point in the history
…(and enable tests for 3.13).
  • Loading branch information
matthewwardrop committed Nov 11, 2024
1 parent 5b40a64 commit f730fcd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,18 @@ jobs:
PANDAS_PRESENCE: ${{ matrix.pandas-presence }}
steps:
- uses: actions/checkout@v2
- uses: gabrielfalcao/pyenv-action@v17
with:
default: "${{ matrix.python-version }}"
- name: Install PyEnv
run: |
curl https://pyenv.run | bash
PYENV_ROOT="$HOME/.pyenv"
PYENV_BIN="$PYENV_ROOT/bin"
echo "$PYENV_BIN" >> $GITHUB_PATH
echo "PYENV_ROOT=$PYENV_ROOT" >> $GITHUB_ENV
- name: Install Python ${{ matrix.python-version }}
run: |
pyenv install "${{ matrix.python-version }}"
pyenv local "${{ matrix.python-version }}"
pyenv versions
pyenv install "${{ matrix.python-version }}"
pyenv local "${{ matrix.python-version }}"
pyenv versions
- name: Install dependencies
run: |
pip install -U pip
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = {py36,py37,py38,py39,py310,py311,py312}-{with_pandas,without_pandas}
envlist = {py36,py37,py38,py39,py310,py311,py312,py313}-{with_pandas,without_pandas}

[gh-actions]
python =
Expand All @@ -10,6 +10,7 @@ python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313

[testenv]
deps=
Expand Down

0 comments on commit f730fcd

Please sign in to comment.