mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Travis CI: check that dump is idempotent
Run git-diff after dumping the database to make sure that there are no changes to the csv files. We often get PRs from people who edit stuff by hand and don't know to do a load/dump of the database afterwards. Usually this means they were adding game data by hand, which we want to discourage, but even if it's done for valid reasons it's good to canonicalize the csv files as soon as possible to avoid interfering with future commits.
This commit is contained in:
parent
77e3d9df16
commit
e5c18c4109
1 changed files with 1 additions and 0 deletions
|
@ -14,3 +14,4 @@ before_script: pokedex setup -v
|
||||||
script:
|
script:
|
||||||
- py.test
|
- py.test
|
||||||
- pokedex dump
|
- pokedex dump
|
||||||
|
- git --no-pager diff --exit-code pokedex/data/csv/
|
||||||
|
|
Loading…
Reference in a new issue