strategy:
matrix:
- python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.7"]
+ python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.7"]
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
steps:
# Setup Python/pip
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
- uses: s-weigand/setup-conda@v1
with:
conda-channels: conda-forge
- name: Install dependencies
run: |
python --version
- python -m ensurepip
+ python -m pip || python -m ensurepip --default-pip --upgrade
python -m pip install --upgrade pip setuptools wheel
pip --version
pip install --upgrade virtualenv "tox >= 2.0, < 4"