Skip to content

Commit 0394b55

Browse files
authored
Update CI/CD - skip running unit tests on documentation-only PRs (#1371)
1 parent 9762f33 commit 0394b55

File tree

5 files changed

+24
-8
lines changed

5 files changed

+24
-8
lines changed

.github/workflows/python-ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Python CI
22
on:
33
push:
44
branches:
5-
- "**/main" # Matches branches like feature/main
6-
- "main" # Matches the main branch
5+
- "**/main" # match branches like feature/main
6+
- "main" # match the main branch
77
pull_request:
88
types:
99
- opened
@@ -13,6 +13,9 @@ on:
1313
branches:
1414
- "**/main"
1515
- "main"
16+
paths-ignore:
17+
- "**/*.md"
18+
- ".semversioner/**"
1619

1720
permissions:
1821
contents: read

.github/workflows/python-integration-tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Python Integration Tests
22
on:
33
push:
44
branches:
5-
- "**/main" # Matches branches like feature/main
6-
- "main" # Matches the main branch
5+
- "**/main" # match branches like feature/main
6+
- "main" # match the main branch
77
pull_request:
88
types:
99
- opened
@@ -13,6 +13,9 @@ on:
1313
branches:
1414
- "**/main"
1515
- "main"
16+
paths-ignore:
17+
- "**/*.md"
18+
- ".semversioner/**"
1619

1720
permissions:
1821
contents: read

.github/workflows/python-notebook-tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Python Notebook Tests
22
on:
33
push:
44
branches:
5-
- "**/main" # Matches branches like feature/main
6-
- "main" # Matches the main branch
5+
- "**/main" # match branches like feature/main
6+
- "main" # match the main branch
77
pull_request:
88
types:
99
- opened
@@ -13,6 +13,9 @@ on:
1313
branches:
1414
- "**/main"
1515
- "main"
16+
paths-ignore:
17+
- "**/*.md"
18+
- ".semversioner/**"
1619

1720
permissions:
1821
contents: read

.github/workflows/python-smoke-tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Python Smoke Tests
22
on:
33
push:
44
branches:
5-
- "**/main" # Matches branches like feature/main
6-
- "main" # Matches the main branch
5+
- "**/main" # match branches like feature/main
6+
- "main" # match the main branch
77
pull_request:
88
types:
99
- opened
@@ -13,6 +13,9 @@ on:
1313
branches:
1414
- "**/main"
1515
- "main"
16+
paths-ignore:
17+
- "**/*.md"
18+
- ".semversioner/**"
1619

1720
permissions:
1821
contents: read
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "patch",
3+
"description": "Allow some cicd jobs to skip PRs dedicated to doc updates only."
4+
}

0 commit comments

Comments
 (0)