]> git.phdru.name Git - mimedecode.git/blobdiff - .github/workflows/run-tests.yaml
Tests,CI: Python 3.12
[mimedecode.git] / .github / workflows / run-tests.yaml
index 254ab171d5dab6bfa447fe52836fb1ec83c2117c..4ef1f825b3a8754614c60724d88a1e597a10c7d2 100644 (file)
@@ -9,7 +9,7 @@ jobs:
 
     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
@@ -38,7 +38,7 @@ jobs:
       - 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"