From: Oleg Broytman Date: Sun, 17 Sep 2023 16:32:32 +0000 (+0300) Subject: CI(GHActions): Ensure `pip` only if needed X-Git-Url: https://git.phdru.name/?p=sqlconvert.git;a=commitdiff_plain;h=2b2304b8b9c117129cfaf5d60b84cbcc0da9a60f CI(GHActions): Ensure `pip` only if needed This is to work around a problem in conda with Python 3.7 - it brings in wrong version of `setuptools` incompatible with Python 3.7. --- diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index c7b0332..a7e7258 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -56,7 +56,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"