From 6b3641420416b2cce2474dbb617e66a34d67febf Mon Sep 17 00:00:00 2001 From: John Ky Date: Tue, 14 Nov 2023 23:42:57 +1100 Subject: [PATCH] Add CI check that only golden files exist under the golden directory --- .github/workflows/haskell.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index c8e2e729a3..eaaa17a332 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -115,7 +115,10 @@ jobs: TMPDIR: ${{ runner.temp }} TMP: ${{ runner.temp }} KEEP_WORKSPACE: 1 - run: cabal test all + run: | + cabal test all + rm -rf cardano-cli/test/cardano-cli-golden/files/golden + CREATE_GOLDEN_FILES=1 cabal test all - name: "Tar artifacts" shell: bash