Skip to content

Remove install-pipenv-action and replace with pipx #759

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ jobs:
with:
python-version: '3.10'
- name: Install pipenv
uses: dschep/install-pipenv-action@v1
run: |
pip install pipx
pipx install pipenv
- name: Install dependencies
run: |
pipenv install --dev
pipenv install sphinx
pipenv install sphinx_rtd_theme
pipenv install sphinx_rtd_theme
- name: Build docs
run: |
pipenv run sphinx-apidoc -f -o docs meilisearch/
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pre-release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install pipenv
uses: dschep/install-pipenv-action@v1
run: |
pip install pipx
pipx install pipenv
- name: Install dependencies
run: pipenv install --dev --python=${{ matrix.python-version }}
- name: Get the latest Meilisearch RC
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
- name: Check release validity
run: sh .github/scripts/check-release.sh
- name: Install pipenv
uses: dschep/install-pipenv-action@v1
run: |
pip install pipx
pipx install pipenv
- name: Install dependencies
run: |
pipenv install
Expand Down
20 changes: 15 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install pipenv
uses: dschep/install-pipenv-action@v1
run: |
pip install pipx
pipx install pipenv
- name: Install dependencies
run: pipenv install --dev --python=${{ matrix.python-version }}
- name: Meilisearch (latest version) setup with Docker
Expand All @@ -45,7 +47,9 @@ jobs:
with:
python-version: 3.7
- name: Install pipenv
uses: dschep/install-pipenv-action@v1
run: |
pip install pipx
pipx install pipenv
- name: Install dependencies
run: pipenv install --dev --python=${{ matrix.python-version }}
- name: Linter with pylint
Expand All @@ -61,7 +65,9 @@ jobs:
with:
python-version: 3.9
- name: Install pipenv
uses: dschep/install-pipenv-action@v1
run: |
pip install pipx
pipx install pipenv
- name: Install dependencies
run: pipenv install --dev --python=${{ matrix.python-version }}
- name: mypy type check
Expand All @@ -77,7 +83,9 @@ jobs:
with:
python-version: 3.9
- name: Install pipenv
uses: dschep/install-pipenv-action@v1
run: |
pip install pipx
pipx install pipenv
- name: Install dependencies
run: pipenv install --dev --python=${{ matrix.python-version }}
- name: black
Expand All @@ -93,7 +101,9 @@ jobs:
with:
python-version: 3.9
- name: Install pipenv
uses: dschep/install-pipenv-action@v1
run: |
pip install pipx
pipx install pipenv
- name: Install dependencies
run: pipenv install --dev --python=${{ matrix.python-version }}
- name: isort
Expand Down