Skip to content

Commit

Permalink
build: ignore unrelated workflow changes in slow Actions tests
Browse files Browse the repository at this point in the history
test-asan and test-macos are very slow and tend to get backed up. While
I'm literally waiting hours right now for test-macos to finish so I can
land a PR, I'm opening this pull request to have it be skipped when
things other than its own workflow file are the only changes in the PR.
  • Loading branch information
Trott committed Nov 23, 2021
1 parent bb3ff81 commit 45dbbce
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 20 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/test-asan.yml
Expand Up @@ -3,23 +3,27 @@ name: test-asan
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '.mailmap'
- '**.md'
- 'AUTHORS'
- 'doc/**'
paths:
- !'.github/*'
- '.github/workflows/test-asan.yml'
- !'.mailmap'
- !'**.md'
- !'AUTHORS'
- !'doc/**'
push:
branches:
- master
- main
- canary
- v[0-9]+.x-staging
- v[0-9]+.x
paths-ignore:
- '.mailmap'
- '**.md'
- 'AUTHORS'
- 'doc/**'
paths:
- !'.github/*'
- '.github/workflows/test-asan.yml'
- !'.mailmap'
- !'**.md'
- !'AUTHORS'
- !'doc/**'

env:
PYTHON_VERSION: '3.10'
Expand Down
24 changes: 14 additions & 10 deletions .github/workflows/test-macos.yml
Expand Up @@ -3,23 +3,27 @@ name: test-macOS
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '.mailmap'
- '**.md'
- 'AUTHORS'
- 'doc/**'
paths:
- !'.github/*'
- '.github/workflows/test-macos.yml'
- !'.mailmap'
- !'**.md'
- !'AUTHORS'
- !'doc/**'
push:
branches:
- master
- main
- canary
- v[0-9]+.x-staging
- v[0-9]+.x
paths-ignore:
- '.mailmap'
- '**.md'
- 'AUTHORS'
- 'doc/**'
paths:
- !'.github/*'
- '.github/workflows/test-macos.yml'
- !'.mailmap'
- !'**.md'
- !'AUTHORS'
- !'doc/**'

env:
PYTHON_VERSION: '3.10'
Expand Down

0 comments on commit 45dbbce

Please sign in to comment.