Skip to content

Commit

Permalink
Fix path ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhao9 committed Oct 7, 2024
1 parent e3eecb0 commit 91cf738
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,22 @@ on:
pull_request:
# ignore tritonbench paths
paths-ignore:
- 'torchbenchmark/operators'
- 'torchbenchmark/operators/*'
- 'torchbenchmark/util/kernels/*'
- 'torchbenchmark/util/triton_op.py'
- 'userbenchmark/triton'
- 'userbenchmark/triton/*'
- '.ci/tritonbench/*'
workflow_dispatch:
push:
branches:
- main
# ignore tritonbench paths
paths-ignore:
- 'torchbenchmark/operators'
- 'torchbenchmark/operators/*'
- 'torchbenchmark/util/kernels/*'
- 'torchbenchmark/util/triton_op.py'
- 'userbenchmark/triton'
- 'userbenchmark/triton/*'
- '.ci/tritonbench/*'

jobs:
cpu-test:
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/tritonbench-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@ name: Tritonbench PR Test on Triton nightly
on:
pull_request:
paths:
- 'torchbenchmark/operators'
- 'torchbenchmark/operators/*'
- 'torchbenchmark/util/kernels/*'
- 'torchbenchmark/util/triton_op.py'
- 'userbenchmark/triton'
- '.ci/tritonbench'
- 'userbenchmark/triton/*'
- '.ci/tritonbench/*'
workflow_dispatch:
push:
branches:
- main
paths:
- 'torchbenchmark/operators'
- 'torchbenchmark/operators/*'
- 'torchbenchmark/util/kernels/*'
- 'torchbenchmark/util/triton_op.py'
- 'userbenchmark/triton'
- '.ci/tritonbench'
- 'userbenchmark/triton/*'
- '.ci/tritonbench/*'

jobs:
cuda-test:
Expand Down

0 comments on commit 91cf738

Please sign in to comment.