Skip to content

Commit

Permalink
chore: don't run testsuite on push, just pr
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Gammon <[email protected]>
  • Loading branch information
sgammon committed Mar 13, 2024
1 parent a4dcd49 commit 10337e6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.build-test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
name: "Build & Test"

"on":
workflow_call: {}
workflow_call:
inputs:
tests:
description: "Run all tests"
type: boolean
default: true

workflow_dispatch: {}

permissions:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/on.pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
build-test:
name: "Build & Test"
uses: ./.github/workflows/ci.build-test.yml
with:
tests: true

build-dependency-graph:
name: "Build & Test"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/on.push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
build-test:
name: "Build & Test"
uses: ./.github/workflows/ci.build-test.yml
with:
tests: true

build-dependency-graph:
name: "Build & Test"
Expand Down

0 comments on commit 10337e6

Please sign in to comment.