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 fb1044a
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 24 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/test-asan.yml
Expand Up @@ -3,23 +3,29 @@ name: test-asan
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '.mailmap'
- '**.md'
- 'AUTHORS'
- 'doc/**'
paths:
- '*'
- !'.mailmap'
- !'**.md'
- !'AUTHORS'
- !'doc/**'
- !'.github/*'
- '.github/workflows/test-asan.yml'
push:
branches:
- master
- main
- canary
- v[0-9]+.x-staging
- v[0-9]+.x
paths-ignore:
- '.mailmap'
- '**.md'
- 'AUTHORS'
- 'doc/**'
paths:
- '*'
- !'.mailmap'
- !'**.md'
- !'AUTHORS'
- !'doc/**'
- !'.github/*'
- '.github/workflows/test-asan.yml'

env:
PYTHON_VERSION: '3.10'
Expand Down
20 changes: 16 additions & 4 deletions .github/workflows/test-linux.yml
Expand Up @@ -2,8 +2,14 @@ name: test-linux

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

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

env:
PYTHON_VERSION: '3.10'
Expand Down

0 comments on commit fb1044a

Please sign in to comment.