forked from IntersectMBO/plutus
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (30 loc) · 967 Bytes
/
nightly-testsuite.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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-ci]
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