From 6b62333d6b2d71f70ab7b546c7747fee30a3c27b Mon Sep 17 00:00:00 2001 From: Elvis Pranskevichus Date: Sat, 24 Apr 2021 13:12:24 -0700 Subject: [PATCH] Fix CI on Windows Due to executable file locking `pip install -U pip` doesn't work on Windows, one has to use `python -m pip install -U pip` instead. --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5b021809..469af2b2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -62,7 +62,7 @@ jobs: - name: Install Python Deps if: steps.release.outputs.version == 0 run: | - pip install -U pip setuptools + python -m pip install -U pip setuptools pip install -e .[test] - name: Test @@ -118,7 +118,7 @@ jobs: - name: Install Python Deps if: steps.release.outputs.version == 0 run: | - pip install -U pip setuptools + python -m pip install -U pip setuptools pip install -e .[test] - name: Test