π Nightly Testsuite #90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow runs the nightly plutus-core-test and plutus-ir-test test suite. | |
name: "π Nightly Testsuite" | |
on: | |
schedule: | |
- cron: 0 0 * * * # Daily at midnight | |
workflow_dispatch: | |
inputs: | |
hedgehog-tests: | |
description: Numer of tests to run (--hedgehog-tests XXXXX) | |
required: false | |
default: "100000" | |
env: | |
HEDGEHOG_TESTS: ${{ github.event.inputs.hedgehog-tests || 100000 }} | |
jobs: | |
run: | |
name: Run | |
runs-on: [self-hosted, plutus-shared] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: Run Plutus Core Test | |
run: | | |
pushd plutus-core | |
nix run --no-warn-dirty --accept-flake-config .#plutus-core-test -- --hedgehog-tests $HEDGEHOG_TESTS | |
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 | |
popd |