Skip to content

Commit

Permalink
ci: Use python -m pip to upgrade pip
Browse files Browse the repository at this point in the history
Invoking pip directly will fail on Windows.
  • Loading branch information
nijel committed Dec 18, 2023
1 parent 0b00700 commit 66a5271
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
sudo apt-get install -y libgettextpo-dev
- name: Install dependencies
run: |
pip install --upgrade pip wheel
python -m pip install --upgrade pip wheel
pip install -r requirements/dev.txt
- name: Build docs
run: make docs
2 changes: 1 addition & 1 deletion .github/workflows/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y libgettextpo-dev
- name: Update pip
run: pip install --upgrade pip wheel
run: python -m pip install --upgrade pip wheel
- name: Install pip dependencies
run: |
pip install -r requirements/dev.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y libgettextpo-dev libxml2-dev libxmlsec1-dev gettext hunspell-af
- name: Update pip
run: pip install --upgrade pip wheel
run: python -m pip install --upgrade pip wheel
- name: Install pip dependencies
run: pip install -r requirements/test.txt
- name: Install pip dependencies
Expand Down

0 comments on commit 66a5271

Please sign in to comment.