mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-05 11:15:27 +03:00
dev:tools: add checkembeddedfiles to make test & master CI
This commit is contained in:
parent
5410f87953
commit
353ac8809b
5
.github/workflows/test-linux-x64.yml
vendored
5
.github/workflows/test-linux-x64.yml
vendored
@ -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 }}
|
||||
|
5
Makefile
5
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user