Skip to content

Commit 133d19d

Browse files
Merge #759
759: Remove install-pipenv-action and replace with pipx r=alallema a=sanders41 # Pull Request ## Related issue Fixes #758 ## What does this PR do? - Replaces the `install-pipenv-action` with `pipx` ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Paul Sanders <[email protected]>
2 parents f788922 + 91c8304 commit 133d19d

File tree

4 files changed

+25
-9
lines changed

4 files changed

+25
-9
lines changed

.github/workflows/documentation.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ jobs:
1717
with:
1818
python-version: '3.10'
1919
- name: Install pipenv
20-
uses: dschep/install-pipenv-action@v1
20+
run: |
21+
pip install pipx
22+
pipx install pipenv
2123
- name: Install dependencies
2224
run: |
2325
pipenv install --dev
2426
pipenv install sphinx
25-
pipenv install sphinx_rtd_theme
27+
pipenv install sphinx_rtd_theme
2628
- name: Build docs
2729
run: |
2830
pipenv run sphinx-apidoc -f -o docs meilisearch/

.github/workflows/pre-release-tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ jobs:
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525
- name: Install pipenv
26-
uses: dschep/install-pipenv-action@v1
26+
run: |
27+
pip install pipx
28+
pipx install pipenv
2729
- name: Install dependencies
2830
run: pipenv install --dev --python=${{ matrix.python-version }}
2931
- name: Get the latest Meilisearch RC

.github/workflows/pypi-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ jobs:
1717
- name: Check release validity
1818
run: sh .github/scripts/check-release.sh
1919
- name: Install pipenv
20-
uses: dschep/install-pipenv-action@v1
20+
run: |
21+
pip install pipx
22+
pipx install pipenv
2123
- name: Install dependencies
2224
run: |
2325
pipenv install

.github/workflows/tests.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ jobs:
2727
with:
2828
python-version: ${{ matrix.python-version }}
2929
- name: Install pipenv
30-
uses: dschep/install-pipenv-action@v1
30+
run: |
31+
pip install pipx
32+
pipx install pipenv
3133
- name: Install dependencies
3234
run: pipenv install --dev --python=${{ matrix.python-version }}
3335
- name: Meilisearch (latest version) setup with Docker
@@ -45,7 +47,9 @@ jobs:
4547
with:
4648
python-version: 3.7
4749
- name: Install pipenv
48-
uses: dschep/install-pipenv-action@v1
50+
run: |
51+
pip install pipx
52+
pipx install pipenv
4953
- name: Install dependencies
5054
run: pipenv install --dev --python=${{ matrix.python-version }}
5155
- name: Linter with pylint
@@ -61,7 +65,9 @@ jobs:
6165
with:
6266
python-version: 3.9
6367
- name: Install pipenv
64-
uses: dschep/install-pipenv-action@v1
68+
run: |
69+
pip install pipx
70+
pipx install pipenv
6571
- name: Install dependencies
6672
run: pipenv install --dev --python=${{ matrix.python-version }}
6773
- name: mypy type check
@@ -77,7 +83,9 @@ jobs:
7783
with:
7884
python-version: 3.9
7985
- name: Install pipenv
80-
uses: dschep/install-pipenv-action@v1
86+
run: |
87+
pip install pipx
88+
pipx install pipenv
8189
- name: Install dependencies
8290
run: pipenv install --dev --python=${{ matrix.python-version }}
8391
- name: black
@@ -93,7 +101,9 @@ jobs:
93101
with:
94102
python-version: 3.9
95103
- name: Install pipenv
96-
uses: dschep/install-pipenv-action@v1
104+
run: |
105+
pip install pipx
106+
pipx install pipenv
97107
- name: Install dependencies
98108
run: pipenv install --dev --python=${{ matrix.python-version }}
99109
- name: isort

0 commit comments

Comments
 (0)