Skip to content

Commit

Permalink
Run Haskell tests individually
Browse files Browse the repository at this point in the history
This is because cabal test all is currently failing sometimes as
individual test suites are not isolated from each other (test polution).
  • Loading branch information
ch1bo committed Sep 20, 2024
1 parent 84b3fe7 commit cb91862
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci-nix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,14 @@ jobs:
env:
TERM: "xterm"
run: |
cabal test all
# NOTE: Individual invocation because of test polution
cabal test hydra-plutus
cabal test hydra-tx
cabal test hydra-node
cabal test hydra-cluster
cabal test hydra-chain-observer
cabal test hydra-tui
cabal test hydra-explorer
- name: 💾 Upload test results
uses: actions/upload-artifact@v4
Expand All @@ -77,11 +84,6 @@ jobs:
- name: 📈 Benchmark
run: |
mkdir -p benchmarks
cd ${{ matrix.package }}
nix build .#${{ matrix.package }}-bench
nix develop .#${{ matrix.package }}-bench --command ${{ matrix.bench }} ${{ matrix.options }}
cabal bench on-chain-cost --benchmark-options "./benchmarks"
cabal bench tx-cost --benchmark-options "--output-directory ./benchmarks"
cabal bench micro --benchmark-options "-o ./benchmarks/ledger-bench.html"
Expand Down

0 comments on commit cb91862

Please sign in to comment.