Skip to content

Commit

Permalink
ci: skip coverage/benchmarks on more unrelated files (#6616)
Browse files Browse the repository at this point in the history
Enhance file filters that trigger coverage and benchmark jobs by adding
more ignored globs.
  • Loading branch information
DonIsaac authored Oct 16, 2024
1 parent 557f941 commit 78fe4af
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ on:
types: [opened, synchronize]
paths:
- "**/*.rs"
- "!apps/**"
- "!tasks/website/**"
- "!tasks/ast_tools/**"
- "!tasks/coverage/**"
- "!crates/oxc_language_server/**"
- "napi/parser/**/*.js"
- "napi/parser/**/*.mjs"
- "Cargo.lock"
Expand All @@ -30,6 +35,11 @@ on:
- main
paths:
- "**/*.rs"
- "!apps/**"
- "!tasks/website/**"
- "!tasks/ast_tools/**"
- "!tasks/coverage/**"
- "!crates/oxc_language_server/**"
- "napi/parser/**/*.js"
- "napi/parser/**/*.mjs"
- "Cargo.lock"
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,18 @@ jobs:
with:
filters: |
src:
- '!.github/**'
- '!.vscode/**'
- '!apps/**'
- '!editors/**'
- '!napi/**'
- '!npm/**'
- '!wasm/**'
- '!crates/oxc_linter/**'
- '!crates/oxc_wasm/**'
- '!crates/oxc_language_server/**'
- '!tasks/**'
- 'tasks/conformance/**'
- uses: ./.github/actions/clone-submodules
if: steps.filter.outputs.src == 'true'
Expand Down

0 comments on commit 78fe4af

Please sign in to comment.