Skip to content

Commit 4dc0ede

Browse files
committed
Fix up nightly e2e evaluation
1 parent aeacbc0 commit 4dc0ede

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/nightly-ci.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ permissions:
1717

1818
jobs:
1919
build-test:
20-
name: "Nightly Blockfrost e2d tests"
20+
name: "Nightly Blockfrost e2e tests"
2121
runs-on: ubuntu-latest
2222
strategy:
2323
matrix:
2424
include:
2525
- package: hydra-cluster
26+
env:
27+
HYDRA_BACKEND: blockfrost
2628
steps:
2729
- name: 📥 Checkout repository
2830
uses: actions/checkout@v4
@@ -37,10 +39,7 @@ jobs:
3739
if [[ "${{secrets.blockfrost_token}}" != '' ]]; then
3840
echo "${{secrets.blockfrost_token}}" > blockfrost-project.txt
3941
cd ${{ matrix.package }}
40-
export HYDRA_BACKEND="blockfrost"
41-
nix build .#${{ matrix.package }}-tests
42-
nix develop
43-
cabal test --test-options '-m "End-to-end on Cardano devnet"'
42+
nix develop .#${{ matrix.package }}-tests --command tests -m "End-to-end on Cardano devnet"
4443
else
4544
echo "::warning file=blockfrost-project.txt,title=BLOCKFROST::Missing blockfrost project file."
4645
fi
@@ -60,7 +59,6 @@ jobs:
6059
# Note: Missing hydra-tui
6160
env:
6261
CI_NIGHTLY: True
63-
6462
steps:
6563
- name: 📥 Checkout repository
6664
uses: actions/checkout@v4
@@ -73,5 +71,4 @@ jobs:
7371
- name: Run tests
7472
run: |
7573
cd ${{ matrix.package }}
76-
nix build .#${{ matrix.package }}-tests
7774
nix develop .#${{ matrix.package }}-tests --command tests -m "@nightly"

0 commit comments

Comments
 (0)