diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 81810dc..f6a63cd 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -11,7 +11,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: ['2.7', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11-dev'] + python-version: ['2.7', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] pandas-presence: ['with_pandas', 'without_pandas'] env: PYTHON_VERSION: ${{ matrix.python-version }} @@ -19,12 +19,12 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: gabrielfalcao/pyenv-action@v17 with: - python-version: ${{ matrix.python-version }} + default: "${{ matrix.python-version }}" + command: pip install -U pip # upgrade pip after installing python - name: Install dependencies run: | - python -m pip install --upgrade pip pip install tox tox-gh-actions - name: Test with tox run: |