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
15 changes: 13 additions & 2 deletions .github/workflows/nightly-testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,19 @@ on:
required: false
default: "100000"

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'
Comment on lines +19 to +26
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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'
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
Loading