Commit graph

21 commits

Author SHA1 Message Date
Martin Pepin
e0e75b53bb Merge branch 'aureplop/ci_parallel' into 'master'
core.ci -- Run tests in parallel

See merge request klub-dev-ens/gestioCOF!327
2019-01-05 19:36:20 +01:00
Aurélien Delobelle
debbf265c4 style -- Linters for petitscours, fix isort 2019-01-05 18:19:26 +01:00
Aurélien Delobelle
8db55d792c core.ci -- Run tests in parallel
tblib displays traceback correctly with --parallel
2019-01-05 17:41:41 +01:00
Aurélien Delobelle
b795a06b9c core.ci -- Use postgres version of production server 2018-10-21 12:33:58 +02:00
Aurélien Delobelle
e478beee5c core.ci -- Narrow services to jobs that need them 2018-10-21 12:33:54 +02:00
Martin Pépin
61fbf0bc80 typo 2018-10-06 15:45:32 +02:00
Aurélien Delobelle
104e71dcf6 core -- Add black,isort,flake8 to CI and pre-commit hook
On CI:
- black and isort in check mode must pass.
- flake8 only prints errors
  WIP: make it also failed.

On pre-commit:
- black and isort will format staged files, if installed on path.
- flake8 prints its output if necessary.
2018-10-06 12:53:50 +02:00
Aurélien Delobelle
b23810917d core -- Remove not working cache of py installed packages...
... and use env var for pip install location.
2018-10-06 11:54:18 +02:00
Aurélien Delobelle
cc4e3223b6 core -- Disable coverage in GitLab CI 2018-10-05 23:36:59 +02:00
Aurélien Delobelle
7e55bf0cb1 core -- Add code coverage to CI 2018-10-04 11:36:45 +02:00
Martin Pépin
66184fbee6 CI: set python version to 3.5 2018-08-05 18:34:05 +02:00
Aurélien Delobelle
f4a7e9dbf1 Verbosity should stay calm. 2017-10-11 23:34:43 +02:00
Martin Pépin
3f6c5be748 Upgrade python packages before testing 2017-10-10 21:27:15 +02:00
Martin Pépin
29ef297b2a try to set the redis password… 2017-10-10 21:14:52 +02:00
Martin Pépin
4d1cb3c2d7 Set password for redis in CI 2017-10-10 15:26:14 +02:00
Aurélien Delobelle
596868f5b6 plop 2017-09-30 03:03:48 +02:00
Martin Pépin
368ee3190f Update CI: use postgres 2017-09-12 00:14:52 +02:00
Martin Pépin
451fddaff0 Fix CI script
Finally, the old test database is destroyed before the build which
is simpler and makes more sense.
2017-02-13 17:43:10 +01:00
Martin Pépin
e8d21882fb Fix CI config
cleanup is not a stage by default, it has to be specified
2017-02-13 17:33:35 +01:00
Martin Pépin
85e593ddb8 Removes the test database if the build fails
Sometime the test database is not destroyed because the build is
interrupted by an uncaught error. This causes an error during the next
build.
2017-02-13 17:27:27 +01:00
Basile Clement
a5ee17d0b5 Lance les tests de gestioCOF sur gitlab-ci 2016-11-13 15:16:57 +01:00