File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " Nightly CI"
2
+
3
+ # Limit concurrent runs of this workflow within a single PR
4
+ concurrency :
5
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
6
+ cancel-in-progress : true
7
+ on :
8
+ schedule :
9
+ # Everyday at 4:00 AM
10
+ - cron : " 0 4 * * *"
11
+ # Allows to trigger runs on any branch
12
+ workflow_dispatch :
13
+
14
+ permissions :
15
+ checks : write
16
+ pull-requests : write
17
+
18
+ jobs :
19
+ build-test :
20
+ name : " Nightly Blockfrost e2d tests"
21
+ runs-on : ubuntu-latest
22
+ strategy :
23
+ matrix :
24
+ include :
25
+ - package : hydra-cluster
26
+ steps :
27
+ - name : 📥 Checkout repository
28
+ uses : actions/checkout@v4
29
+
30
+ - name : ❄ Setup Nix/Cachix
31
+ uses : ./.github/actions/nix-cachix-setup
32
+ with :
33
+ authToken : ' ${{ secrets.CACHIX_CARDANO_SCALING_AUTH_TOKEN }}'
34
+
35
+ - name : ❓ E2E Blockfrost Test
36
+ run : |
37
+ if [[ "${{secrets.blockfrost_token}}" != '' ]]; then
38
+ echo "${{secrets.blockfrost_token}}" > blockfrost-project.txt
39
+ cd ${{ matrix.package }}
40
+ export HYDRA_BACKEND="blockfrost"
41
+ nix build .#${{ matrix.package }}-tests
42
+ nix develop
43
+ cabal test hydra-cluster --test-options '-m "End-to-end on Cardano devnet"'
44
+ else
45
+ echo "::warning file=blockfrost-project.txt,title=BLOCKFROST::Missing blockfrost project file."
46
+ fi
You can’t perform that action at this time.
0 commit comments