Skip to content

Commit 8ddeea1

Browse files
authored
Merge pull request matplotlib#21692 from greglucas/gh-action-branch
CI: Remove CI test runs from forks of matplotlib
2 parents 2ee31d2 + f73781d commit 8ddeea1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ env:
1414

1515
jobs:
1616
test:
17+
if: "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]')"
1718
name: "Python ${{ matrix.python-version }} on ${{ matrix.os }} ${{ matrix.name-suffix }}"
1819
runs-on: ${{ matrix.os }}
1920

@@ -249,7 +250,7 @@ jobs:
249250
run: |
250251
${{ matrix.XVFB_RUN }} python -mpytest -raR -n auto \
251252
--maxfail=50 --timeout=300 --durations=25 \
252-
--cov-report=xml --cov=lib --log-level=DEBUG
253+
--cov-report=xml --cov=lib --log-level=DEBUG --color=yes
253254
254255
- name: Filter C coverage
255256
run: |

0 commit comments

Comments
 (0)