Skip to content

Commit

Permalink
Merge pull request #2273 from demergent-labs/run_tests_manually
Browse files Browse the repository at this point in the history
Run tests manually
  • Loading branch information
lastmjs authored Nov 8, 2024
2 parents 9e27625 + 98dd2ea commit 5ad1040
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/get_and_run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ on:
required: false
type: boolean
default: false
fuzz:
required: false
type: boolean
default: false

jobs:
prepare-test-environment:
Expand Down Expand Up @@ -49,3 +53,4 @@ jobs:
test_infos: ${{ needs.prepare-test-environment.outputs.test-infos }}
include_npm: ${{ needs.prepare-test-environment.outputs.include_npm == 'true' }}
run_experimental: ${{ inputs.run_experimental }}
fuzz: ${{ inputs.fuzz }}
5 changes: 5 additions & 0 deletions .github/workflows/run_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
required: false
type: boolean
default: false
fuzz:
required: false
type: boolean
default: false

jobs:
run-test:
Expand Down Expand Up @@ -141,3 +145,4 @@ jobs:
AZLE_PROPTEST_NUM_RUNS: ${{ steps.calc-runs.outputs.runs }}
AZLE_PROPTEST_VERBOSE: true
AZLE_EXPERIMENTAL: ${{ inputs.run_experimental }}
AZLE_FUZZ: ${{ inputs.fuzz }}
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ on:
branches:
- main
pull_request:
types:
- opened
- synchronize
- ready_for_review
- reopened
workflow_dispatch:
inputs:
fuzz:
description: 'Run fuzz tests'
required: true
type: boolean
default: false

jobs:
get-exclude-dirs:
Expand Down Expand Up @@ -88,6 +100,7 @@ jobs:
directories: ${{ matrix.test_group.directories }}
exclude-dirs: ${{ needs.get-exclude-dirs.outputs.exclude-dirs }}
run_experimental: ${{ matrix.test_group.run_experimental || false }}
fuzz: ${{ inputs.fuzz || false }}

check-test-success:
name: Check Azle tests succeeded
Expand Down

0 comments on commit 5ad1040

Please sign in to comment.