Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/test-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ on:
- '3.11'
- '3.12'
- '3.13'
- '3.14-dev'
build_type:
type: choice
description: 'Choose the build type to use'
Expand Down Expand Up @@ -181,7 +182,7 @@ jobs:
fail-fast: false
matrix:
os: [ 'ubuntu-22.04', 'macos-13', 'macos-14', 'windows-2022', 'ubuntu-22.04-arm' ]
python_version: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13' ]
python_version: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14-dev' ]
runs-on: ${{ matrix.os }}
container: ${{ (startsWith(matrix.os, 'ubuntu') && 'ubuntu:20.04') || null }}
steps:
Expand Down Expand Up @@ -219,6 +220,10 @@ jobs:
echo "$HOME/.pyenv/shims" >> $GITHUB_PATH
echo "PYENV_ROOT=$HOME/.pyenv" >> $GITHUB_ENV
export PATH="$HOME/.pyenv/bin:$PATH"
if [ "$PYTHON_VERSION" = "3.14-dev" ]; then
# Replacing 3.14-dev with a pinned prerelease version for fast installation
PYTHON_VERSION="3.14.0rc3"
fi
pyenv install $PYTHON_VERSION
pyenv global $PYTHON_VERSION
env:
Expand All @@ -243,6 +248,7 @@ jobs:
fi
echo "Installing python deps"
poetry self add "poetry-dynamic-versioning[plugin]"
echo "Use the correct Python version we've set up"
poetry env use python$PYTHON_VERSION || poetry env use python3 # use the correct Python version we've set up
poetry install --no-root --only=dev
echo "Installed Dependencies"
Expand Down
Loading
Loading