dev:tools: add checkembeddedfiles to make test & master CI

This commit is contained in:
Simon Michael 2023-06-02 08:26:11 -10:00
parent 5410f87953
commit 353ac8809b
2 changed files with 9 additions and 1 deletions

View File

@ -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 }}

View File

@ -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