Skip to content

Commit 2b98a0f

Browse files
committed
Use pipx to speed up dependency installs
1 parent 5a20d33 commit 2b98a0f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v6
12-
- run: sudo apt-get update && sudo apt-get install -y gettext
12+
- run: pipx install gettext
1313
- uses: astral-sh/setup-uv@v7
1414
- run: uvx --from build pyproject-build --sdist --wheel
1515
- run: uvx twine check dist/*
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@v6
23-
- run: sudo apt-get update && sudo apt-get install -y gettext
23+
- run: pipx install gettext
2424
- uses: astral-sh/setup-uv@v7
2525
- run: uv run mkdocs build --strict
2626
SQLite:
@@ -47,7 +47,7 @@ jobs:
4747
django-version: "6.0"
4848
steps:
4949
- uses: actions/checkout@v6
50-
- run: sudo apt-get update && sudo apt-get install -y gettext
50+
- run: pipx install gettext
5151
- uses: astral-sh/setup-uv@v7
5252
with:
5353
python-version: ${{ matrix.python-version }}
@@ -68,7 +68,7 @@ jobs:
6868
- "7.2"
6969
steps:
7070
- uses: actions/checkout@v6
71-
- run: sudo apt-get update && sudo apt-get install -y gettext
71+
- run: pipx install gettext
7272
- uses: astral-sh/setup-uv@v7
7373
- run: uv run --extra wagtail --with wagtail~=${{ matrix.wagtail-version }}.0 --with django~=5.2.0 pytest
7474
- uses: codecov/codecov-action@v5
@@ -89,7 +89,7 @@ jobs:
8989
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
9090
steps:
9191
- uses: actions/checkout@v6
92-
- run: sudo apt-get update && sudo apt-get install -y gettext
92+
- run: pipx install gettext
9393
- run: psql template1 -c "CREATE EXTENSION citext;"
9494
env:
9595
PGHOST: localhost

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/setup-python@v6
1212
with:
1313
python-version: "3.x"
14-
- run: sudo apt-get update && sudo apt-get install -y gettext
14+
- run: pipx install gettext
1515
- run: python -m pip install --upgrade pip build wheel
1616
- run: python -m build --sdist --wheel
1717
- uses: actions/upload-artifact@v6

0 commit comments

Comments
 (0)