Skip to content

Commit 5c27ec8

Browse files
Trottdanielleadams
authored andcommitted
build: ignore unrelated workflow changes in slow Actions tests
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 <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent aa432e3 commit 5c27ec8

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/test-asan.yml

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
- '**.md'
99
- 'AUTHORS'
1010
- 'doc/**'
11+
- .github/**
12+
- '!.github/workflows/test-asan.yml'
1113
push:
1214
branches:
1315
- master
@@ -20,6 +22,8 @@ on:
2022
- '**.md'
2123
- 'AUTHORS'
2224
- 'doc/**'
25+
- .github/**
26+
- '!.github/workflows/test-asan.yml'
2327

2428
env:
2529
PYTHON_VERSION: '3.10'

.github/workflows/test-linux.yml

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
pull_request:
55
paths-ignore:
66
- "README.md"
7+
- .github/**
8+
- '!.github/workflows/test-linux.yml'
79
types: [opened, synchronize, reopened, ready_for_review]
810
push:
911
branches:
@@ -14,6 +16,8 @@ on:
1416
- v[0-9]+.x
1517
paths-ignore:
1618
- "README.md"
19+
- .github/**
20+
- '!.github/workflows/test-linux.yml'
1721

1822
env:
1923
PYTHON_VERSION: '3.10'

.github/workflows/test-macos.yml

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
- '**.md'
99
- 'AUTHORS'
1010
- 'doc/**'
11+
- .github/**
12+
- '!.github/workflows/test-macos.yml'
1113
push:
1214
branches:
1315
- master
@@ -20,6 +22,8 @@ on:
2022
- '**.md'
2123
- 'AUTHORS'
2224
- 'doc/**'
25+
- .github/**
26+
- '!.github/workflows/test-macos.yml'
2327

2428
env:
2529
PYTHON_VERSION: '3.10'

0 commit comments

Comments
 (0)