Skip to content

Commit f989c9f

Browse files
authored
BLD: Unbreak github tests workflow
missing parenthesis introduced in matplotlib#25145 Reformatted the if block based on a similar set of conditions from the cygwin tests to make it more readable and help locate the error. I will exercise the unbreak CI self merge upon green CI (unless objected to)
1 parent e0c59ee commit f989c9f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/tests.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,15 @@ env:
2525

2626
jobs:
2727
test:
28-
if: "github.event_name == 'workflow_dispatch' || github.repository == 'matplotlib/matplotlib' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]' && !contains(github.event.head_commit.message, '[ci doc]')"
28+
if: |
29+
github.event_name == 'workflow_dispatch' ||
30+
(
31+
github.repository == 'matplotlib/matplotlib' &&
32+
!contains(github.event.head_commit.message, '[ci skip]') &&
33+
!contains(github.event.head_commit.message, '[skip ci]') &&
34+
!contains(github.event.head_commit.message, '[skip github]') &&
35+
!contains(github.event.head_commit.message, '[ci doc]')
36+
)
2937
permissions:
3038
contents: read
3139
name: "Python ${{ matrix.python-version }} on ${{ matrix.os }} ${{ matrix.name-suffix }}"

0 commit comments

Comments
 (0)