Skip to content

Commit

Permalink
Allow optional skipping of unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lubkoll committed Jul 25, 2024
1 parent 1ccaf67 commit 92477d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/proto_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ jobs:
with:
target: proto-build
workspace: quasar
unit_tests: false
5 changes: 5 additions & 0 deletions .github/workflows/rust_basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
target:
required: true
type: string
unit_tests:
required: false
default: true
type: boolean

jobs:
checks:
Expand All @@ -34,5 +38,6 @@ jobs:
run: cargo fmt --all -- --check
working-directory: smart-contracts/${{ inputs.workspace }}/${{ inputs.target }}
- name: Run unit-tests
if: inputs.unit_tests
run: cargo unit-test
working-directory: smart-contracts/${{ inputs.workspace }}/${{ inputs.target }}

0 comments on commit 92477d8

Please sign in to comment.