Skip to content

Commit

Permalink
perf(docs): Disable tests on docs that don't apply to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
J2-D2-3PO committed Dec 11, 2024
1 parent bf39669 commit 14e0105
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/bump_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ name: bump-python-sdk-version

on:
workflow_dispatch:
push:
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'

jobs:
build-assets:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/notify-wandb-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
push:
branches:
- '**'
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'
workflow_dispatch:

jobs:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ name: test

on:
push:
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'

jobs:
check-which-tests-to-run:
Expand Down Expand Up @@ -195,6 +200,7 @@ jobs:
name: Trace docs
timeout-minutes: 10
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && (github.event.before == 'docs/**' || github.event.commits | contains('docs')) }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/wandb-core-updated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ on:
types:
- core-updated
workflow_dispatch:
push:
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'

jobs:
update-frontend:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/weave-node-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Node.js Tests

on:
push:
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'

jobs:
test:
Expand Down

0 comments on commit 14e0105

Please sign in to comment.