Update CI/CD - skip running unit tests on documentation-only PRs (#1371)

This commit is contained in:
Josh Bradley 2024-11-06 11:19:21 -08:00 committed by GitHub
parent 9762f33c1a
commit 0394b55086
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 24 additions and 8 deletions

View File

@ -2,8 +2,8 @@ name: Python CI
on: on:
push: push:
branches: branches:
- "**/main" # Matches branches like feature/main - "**/main" # match branches like feature/main
- "main" # Matches the main branch - "main" # match the main branch
pull_request: pull_request:
types: types:
- opened - opened
@ -13,6 +13,9 @@ on:
branches: branches:
- "**/main" - "**/main"
- "main" - "main"
paths-ignore:
- "**/*.md"
- ".semversioner/**"
permissions: permissions:
contents: read contents: read

View File

@ -2,8 +2,8 @@ name: Python Integration Tests
on: on:
push: push:
branches: branches:
- "**/main" # Matches branches like feature/main - "**/main" # match branches like feature/main
- "main" # Matches the main branch - "main" # match the main branch
pull_request: pull_request:
types: types:
- opened - opened
@ -13,6 +13,9 @@ on:
branches: branches:
- "**/main" - "**/main"
- "main" - "main"
paths-ignore:
- "**/*.md"
- ".semversioner/**"
permissions: permissions:
contents: read contents: read

View File

@ -2,8 +2,8 @@ name: Python Notebook Tests
on: on:
push: push:
branches: branches:
- "**/main" # Matches branches like feature/main - "**/main" # match branches like feature/main
- "main" # Matches the main branch - "main" # match the main branch
pull_request: pull_request:
types: types:
- opened - opened
@ -13,6 +13,9 @@ on:
branches: branches:
- "**/main" - "**/main"
- "main" - "main"
paths-ignore:
- "**/*.md"
- ".semversioner/**"
permissions: permissions:
contents: read contents: read

View File

@ -2,8 +2,8 @@ name: Python Smoke Tests
on: on:
push: push:
branches: branches:
- "**/main" # Matches branches like feature/main - "**/main" # match branches like feature/main
- "main" # Matches the main branch - "main" # match the main branch
pull_request: pull_request:
types: types:
- opened - opened
@ -13,6 +13,9 @@ on:
branches: branches:
- "**/main" - "**/main"
- "main" - "main"
paths-ignore:
- "**/*.md"
- ".semversioner/**"
permissions: permissions:
contents: read contents: read

View File

@ -0,0 +1,4 @@
{
"type": "patch",
"description": "Allow some cicd jobs to skip PRs dedicated to doc updates only."
}