Add a deployment test while building the Debian package
This commit is contained in:
parent
ea9e830a75
commit
8fa3367f6c
6
Makefile
6
Makefile
|
@ -15,3 +15,9 @@ po/%.po: $(POT_FILE)
|
||||||
|
|
||||||
$(POT_FILE): $(INPUT_FILES)
|
$(POT_FILE): $(INPUT_FILES)
|
||||||
xgettext --no-wrap --language=Scheme --from-code=UTF-8 --output=$@ --keyword=pgettext:1,2c --package-name=numerus --msgid-bugs-address=jordi@tandem.blog $^
|
xgettext --no-wrap --language=Scheme --from-code=UTF-8 --output=$@ --keyword=pgettext:1,2c --package-name=numerus --msgid-bugs-address=jordi@tandem.blog $^
|
||||||
|
|
||||||
|
test-deploy:
|
||||||
|
sqitch deploy --db-name $(PGDATABASE)
|
||||||
|
pg_prove test/*
|
||||||
|
|
||||||
|
.PHONY: locales test-db
|
||||||
|
|
|
@ -10,6 +10,10 @@ Build-Depends:
|
||||||
golang-github-jackc-pgx-v4-dev,
|
golang-github-jackc-pgx-v4-dev,
|
||||||
golang-github-leonelquinteros-gotext-dev,
|
golang-github-leonelquinteros-gotext-dev,
|
||||||
golang-golang-x-text-dev,
|
golang-golang-x-text-dev,
|
||||||
|
postgresql-all (>= 217~),
|
||||||
|
sqitch,
|
||||||
|
pgtap,
|
||||||
|
postgresql-13-pgtap
|
||||||
Standards-Version: 4.6.0
|
Standards-Version: 4.6.0
|
||||||
XS-Go-Import-Path: dev.tandem.ws/tandem/numerus
|
XS-Go-Import-Path: dev.tandem.ws/tandem/numerus
|
||||||
Vcs-Browser: https://dev.tandem.ws/tandem/numerus
|
Vcs-Browser: https://dev.tandem.ws/tandem/numerus
|
||||||
|
|
|
@ -5,3 +5,6 @@
|
||||||
|
|
||||||
execute_before_dh_auto_build:
|
execute_before_dh_auto_build:
|
||||||
make
|
make
|
||||||
|
|
||||||
|
execute_after_dh_auto_test:
|
||||||
|
pg_virtualenv -v 13 make test-deploy
|
||||||
|
|
Loading…
Reference in New Issue