Those tests were too thorough, even reaching into sections which aren't quite implemented.
Added new rules for commits which introduced database changes.
This commit is contained in:
parent
e46e8685a3
commit
2b4ed1d70e
|
@ -24,6 +24,8 @@ Try to use the single responsibility principle where ever possible, with the exc
|
||||||
|
|
||||||
Avoid hand-rolling queries. Use the builders, a ready built statement or a datastore structure instead. Preferably a datastore.
|
Avoid hand-rolling queries. Use the builders, a ready built statement or a datastore structure instead. Preferably a datastore.
|
||||||
|
|
||||||
|
Commits which require the patcher / update script to be run should be prefixed with "Database Changes: "
|
||||||
|
|
||||||
More coming up.
|
More coming up.
|
||||||
|
|
||||||
# JavaScript
|
# JavaScript
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
echo "Generating the dynamic code"
|
echo "Generating the dynamic code"
|
||||||
go generate
|
go generate
|
||||||
echo "Running tests"
|
echo "Running tests"
|
||||||
go test -coverprofile c.out ./...
|
go test -coverprofile c.out
|
||||||
|
|
Loading…
Reference in New Issue