Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions .github/workflows/nightly-testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,26 @@ on:
schedule:
- cron: 0 0 * * *

workflow_dispatch:
workflow_dispatch:
inputs:
hedgehog-tests:
description: Number of tests to run (--hedgehog-tests XXXXX)
required: false
default: "100000"

env:
quickcheck-tests:
description: Number of QuickCheck tests to run per property
required: false
default: "100000"
quickcheck-max-size:
description: Max QuickCheck size parameter
required: false
default: "500"

env:
HEDGEHOG_TESTS: ${{ github.event.inputs.hedgehog-tests || 100000 }}
QUICKCHECK_TESTS: ${{ github.event.inputs.quickcheck-tests || 100000 }}
QUICKCHECK_MAX_SIZE: ${{ github.event.inputs.quickcheck-max-size || 500 }}
Comment on lines 29 to +31

jobs:
run:
Expand All @@ -32,11 +43,11 @@ jobs:
- name: Run Plutus Core Test
run: |
pushd plutus-core
nix run --no-warn-dirty --accept-flake-config .#plutus-core-test -- --hedgehog-tests $HEDGEHOG_TESTS --no-create
nix run --no-warn-dirty --accept-flake-config .#plutus-core-test -- --hedgehog-tests $HEDGEHOG_TESTS --quickcheck-tests $QUICKCHECK_TESTS --quickcheck-max-size $QUICKCHECK_MAX_SIZE --no-create
popd

- name: Run Plutus IR Test
run: |
pushd plutus-core
nix run --no-warn-dirty --accept-flake-config .#plutus-ir-test -- --hedgehog-tests $HEDGEHOG_TESTS --no-create
nix run --no-warn-dirty --accept-flake-config .#plutus-ir-test -- --hedgehog-tests $HEDGEHOG_TESTS --quickcheck-tests $QUICKCHECK_TESTS --quickcheck-max-size $QUICKCHECK_MAX_SIZE --no-create
popd