Skip to content

Commit

Permalink
BLD: Unbreak github tests workflow
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
ksunden authored Feb 8, 2023
1 parent e0c59ee commit f989c9f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@ env:

jobs:
test:
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]')"
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]')
)
permissions:
contents: read
name: "Python ${{ matrix.python-version }} on ${{ matrix.os }} ${{ matrix.name-suffix }}"
Expand Down

0 comments on commit f989c9f

Please sign in to comment.