Skip to content

Commit

Permalink
Don't run tests unless pre-commit passes
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksKnezevic committed Nov 8, 2024
1 parent 7edf47c commit 4ace501
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ jobs:
uses: ./.github/workflows/spdx.yml
secrets: inherit
build-and-test:
needs: [pre-commit, spdx]
uses: ./.github/workflows/build-and-test.yml
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ jobs:
uses: ./.github/workflows/spdx.yml
secrets: inherit
build-and-test:
needs: [pre-commit, spdx]
uses: ./.github/workflows/build-and-test.yml
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ jobs:
uses: ./.github/workflows/spdx.yml
secrets: inherit
build-and-test:
needs: [pre-commit, spdx]
uses: ./.github/workflows/build-and-test.yml
secrets: inherit
2 changes: 1 addition & 1 deletion tt_torch/dynamo/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,4 +379,4 @@ def backend(gm, example_inputs, options=None):
return _base_backend(gm, example_inputs, compiler_config=options)


# backend = aot_autograd(fw_compiler=_base_backend)
# backend = aot_autograd(fw_compiler=_base_backend)

0 comments on commit 4ace501

Please sign in to comment.