File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 47
47
- name : ❓ Test
48
48
if : ${{ matrix.package != 'hydra-tui' }}
49
49
run : |
50
- if [[ "${{secrets.blockfrost_token}}" != '' ]]; then
51
- echo "${{secrets.blockfrost_token}}" > blockfrost-project.txt
52
- cd ${{ matrix.package }}
53
- nix build .#${{ matrix.package }}-tests
54
- nix develop .#${{ matrix.package }}-tests --command tests
55
- else
56
- echo "::warning file=blockfrost-project.txt,title=BLOCKFROST::Missing blockfrost project file."
57
- fi
50
+ cd ${{ matrix.package }} # To ensure the `./golden` files are available.
51
+ nix develop .#${{ matrix.package }}-tests --command tests
58
52
59
53
# This one is special, as it requires a tty.
60
54
- name : ❓ Test (TUI)
67
61
TERM : " xterm"
68
62
run : |
69
63
cd ${{ matrix.package }}
70
- nix build .#${{ matrix.package }}-tests
71
64
nix develop .#${{ matrix.package }}-tests --command tests
72
65
73
66
# NOTE: This depends on the path used in hydra-cluster e2e tests
Original file line number Diff line number Diff line change 37
37
- name : ❓ E2E Blockfrost Test
38
38
run : |
39
39
if [[ "${{secrets.blockfrost_token}}" != '' ]]; then
40
- echo "${{secrets.blockfrost_token}}" > blockfrost-project.txt
41
40
cd ${{ matrix.package }}
41
+ echo "${{secrets.blockfrost_token}}" > blockfrost-project.txt
42
42
nix develop .#${{ matrix.package }}-tests --command tests -m "End-to-end on Cardano devnet"
43
43
else
44
44
echo "::warning file=blockfrost-project.txt,title=BLOCKFROST::Missing blockfrost project file."
You can’t perform that action at this time.
0 commit comments