Skip to content

Commit 2fe0d18

Browse files
committed
workflows: test-matplotlib: patch source, simplify python-wheels path
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
1 parent e65cc2a commit 2fe0d18

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

.github/workflows/test-matplotlib.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ jobs:
4747
python-version: '3.12'
4848

4949
steps:
50-
- name: Checkout python-wheels
51-
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
52-
with:
53-
path: python-wheels-repo
54-
persist-credentials: false
55-
5650
- name: Checkout matplotlib v${{ env.MPL_VERSION }}
5751
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
5852
with:
@@ -61,13 +55,25 @@ jobs:
6155
fetch-depth: 0
6256
persist-credentials: false
6357

58+
- name: Checkout python-wheels
59+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
60+
with:
61+
path: python-wheels
62+
persist-credentials: false
63+
6464
- name: Set up Python ${{ matrix.python-version }}
6565
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
6666
with:
6767
python-version: ${{ matrix.python-version }}
6868
activate-environment: true
6969
enable-cache: false
7070

71+
# We need to patch the matplotlib source to increase a threading test
72+
# timeout for the native runners
73+
- name: patch matplotlib source
74+
run: |
75+
git apply python-wheels/patches/matplotlib/${{ env.MPL_VERSION }}/00*.patch
76+
7177
- name: Install OS dependencies
7278
run: |
7379
echo 'Acquire::Retries "3";' | sudo tee /etc/apt/apt.conf.d/80-retries

0 commit comments

Comments
 (0)