]> git.phdru.name Git - m_librarian.git/blobdiff - .github/workflows/run-tests.yaml
CI(pip): Ensure `pip` only if needed
[m_librarian.git] / .github / workflows / run-tests.yaml
index b7367d170aa3bde0a99e1f8938a4aa0f4cad28f9..7a4d53d0bfc9adba53dd4f68713e10472bde63f7 100644 (file)
@@ -48,7 +48,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 >= 3.15, < 4"