Skip to content

Commit 4f192db

Browse files
authored
Update ci.yml
1 parent 41c8574 commit 4f192db

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ on:
99
workflow_dispatch:
1010

1111
env:
12-
FORCE_COLOR: "1"
12+
FORCE_COLOR: "1" # Make tools pretty.
1313
PIP_DISABLE_PIP_VERSION_CHECK: "1"
14+
PIP_NO_PYTHON_VERSION_WARNING: "1"
1415

1516
jobs:
1617
build-package:
@@ -26,7 +27,6 @@ jobs:
2627
name: tox on ${{ matrix.python-version }}
2728
needs: build-package
2829
runs-on: ubuntu-latest
29-
3030
strategy:
3131
fail-fast: false
3232
matrix:
@@ -38,11 +38,20 @@ jobs:
3838
- '3.12'
3939

4040
steps:
41+
- name: Download pre-built packages
42+
uses: actions/download-artifact@v3
43+
with:
44+
name: Packages
45+
path: dist
46+
- run: tar xf dist/*.tar.gz --strip-components=1 # needed for config files
47+
4148
- uses: actions/checkout@v3
4249
- uses: actions/setup-python@v4
4350
with:
4451
python-version: ${{ matrix.python-version }}
4552
allow-prereleases: true
53+
cache: pip
54+
4655
- name: Install dependencies
4756
run: |
4857
python -VV

0 commit comments

Comments
 (0)