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.

PR-URL: #40928
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
Trott authored Nov 27, 2021
1 parent 49b8c4f commit e64c66c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test-asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
- '**.md'
- 'AUTHORS'
- 'doc/**'
- .github/**
- '!.github/workflows/test-asan.yml'
push:
branches:
- master
Expand All @@ -20,6 +22,8 @@ on:
- '**.md'
- 'AUTHORS'
- 'doc/**'
- .github/**
- '!.github/workflows/test-asan.yml'

env:
PYTHON_VERSION: '3.10'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
pull_request:
paths-ignore:
- "README.md"
- .github/**
- '!.github/workflows/test-linux.yml'
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
Expand All @@ -14,6 +16,8 @@ on:
- v[0-9]+.x
paths-ignore:
- "README.md"
- .github/**
- '!.github/workflows/test-linux.yml'

env:
PYTHON_VERSION: '3.10'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
- '**.md'
- 'AUTHORS'
- 'doc/**'
- .github/**
- '!.github/workflows/test-macos.yml'
push:
branches:
- master
Expand All @@ -20,6 +22,8 @@ on:
- '**.md'
- 'AUTHORS'
- 'doc/**'
- .github/**
- '!.github/workflows/test-macos.yml'

env:
PYTHON_VERSION: '3.10'
Expand Down

0 comments on commit e64c66c

Please sign in to comment.