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 5b94831
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 24 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/test-asan.yml
Original file line number Diff line number Diff line change
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
18 changes: 14 additions & 4 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@ name: test-linux

on:
pull_request:
paths-ignore:
- "README.md"
paths:
- !'.github/*'
- '.github/workflows/test-linux.yml'
- !'.mailmap'
- !'**.md'
- !'AUTHORS'
- !'doc/**'
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
Expand All @@ -12,8 +17,13 @@ on:
- canary
- v[0-9]+.x-staging
- v[0-9]+.x
paths-ignore:
- "README.md"
paths:
- !'.github/*'
- '.github/workflows/test-linux.yml'
- !'.mailmap'
- !'**.md'
- !'AUTHORS'
- !'doc/**'

env:
PYTHON_VERSION: '3.10'
Expand Down
24 changes: 14 additions & 10 deletions .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
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 5b94831

Please sign in to comment.