diff --git a/.github/workflows/test-linux-x64.yml b/.github/workflows/test-linux-x64.yml index 7a242c2a4..f416316cd 100644 --- a/.github/workflows/test-linux-x64.yml +++ b/.github/workflows/test-linux-x64.yml @@ -240,6 +240,11 @@ jobs: # --ghc-options=-split-sections --no-terminal if: env.CONTINUE + - name: Check embedded files + run: | + tools/checkembeddedfiles + if: env.CONTINUE + - name: Install shelltestrunner env: stack: ${{ matrix.plan.stack }} diff --git a/Makefile b/Makefile index 3fdd80e73..3e3ccdb9b 100644 --- a/Makefile +++ b/Makefile @@ -451,7 +451,7 @@ shellcompletions: $(call def-help,shellcompletions, update shell completions in ############################################################################### $(call def-help-subheading,TESTING:) -test: functest bench \ +test: embeddedfilestest functest bench \ $(call def-help,test, run default tests: functional tests (including unit tests) and benchmarks ) # For quieter tests add --silent. It may hide troubleshooting info. @@ -461,6 +461,9 @@ STACKTEST=$(STACK) test --fast # running tests & benchmarks. Comment this out if you want to run them. SKIPTESTSBENCHS=--no-run-tests --no-run-benchmarks +embeddedfilestest: $(call def-help,embeddedfilestest, check all files embedded with file-embed are declared in extra-source-files) + tools/checkembeddedfiles + buildplantest: $(call def-help,buildplantest, stack build --dry-run all hledger packages ensuring an install plan with default snapshot) \ buildplantest-stack.yaml