File tree Expand file tree Collapse file tree 1 file changed +17
-8
lines changed Expand file tree Collapse file tree 1 file changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -3,32 +3,41 @@ name: Nightly Test Suite
3
3
on :
4
4
schedule :
5
5
- cron : 0 0 * * * # daily at midnight
6
+
6
7
workflow_dispatch : # or manually dispatch the job
8
+ inputs :
9
+ hedgehog-tests :
10
+ description : Numer of tests to run (--hedgehog-tests XXXXX)
11
+ required : false
12
+ default : " 50000"
13
+
14
+ env :
15
+ HEDGEHOG_TESTS : ${{ github.event.inputs.hedgehog-tests || 50000 }}
7
16
8
17
jobs :
9
18
nightly-test-suite :
19
+ timeout-minutes : 14400
10
20
runs-on : ubuntu-latest
11
21
steps :
12
22
- name : Checkout
13
23
uses : actions/checkout@v4
14
24
15
- - name : Quick Install Nix
16
- uses : cachix/install-nix-action@V27
17
- with :
18
- extra_nix_config : |
19
- experimental-features = nix-command flakes
20
- accept-flake-config = true
25
+ - name : Install Nix
26
+ uses : DeterminateSystems/nix-installer-action@main
21
27
28
+ - name : Use Magic Nix Cache
29
+ uses : DeterminateSystems/magic-nix-cache-action@main
30
+
22
31
- name : plutus-core-nightly
23
32
if : always()
24
33
run : |
25
34
pushd plutus-core
26
- nix run --no-warn-dirty --accept-flake-config .#plutus-core-test -- --hedgehog-tests 10000
35
+ nix run --no-warn-dirty --accept-flake-config .#plutus-core-test -- --hedgehog-tests $HEDGEHOG_TESTS
27
36
popd
28
37
29
38
- name : plutus-ir-nightly
30
39
if : always()
31
40
run : |
32
41
pushd plutus-core
33
- nix run --no-warn-dirty --accept-flake-config .#plutus-ir-test -- --hedgehog-tests 10000
42
+ nix run --no-warn-dirty --accept-flake-config .#plutus-ir-test -- --hedgehog-tests $HEDGEHOG_TESTS
34
43
popd
You can’t perform that action at this time.
0 commit comments