- Jan 02, 2019
-
-
Romain Bignon authored
-
- Apr 26, 2018
-
-
- use env(1) to found bash on the system - remove bash dependency on few scripts
-
-
- Apr 23, 2018
-
-
- Jul 11, 2017
-
-
Laurent Bachelier authored
-
Laurent Bachelier authored
-
Laurent Bachelier authored
This is starting to get quite repetitive though.
-
- Jun 19, 2017
-
-
hydrargyrum authored
This will generate a lot of warnings on modules since they are not python3-compatible yet. Use the same flag for run_tests, and use python3 by default for weboob_lint.
-
- Dec 24, 2016
-
-
Phyks (Lucas Verney) authored
-
Phyks (Lucas Verney) authored
This commit adds the necessary files to run the CI using Gitlab-CI. For now, it checks that Weboob builds, then runs the linting script (checking that every module as an icon and some tests + PyFlakes) and the unittests. Most of modules unittests cannot run because there is no backend configured. Some changes were needed in the pre-existing scripts: * Edit `weboob_lint` to exit with non-zero code if it finds modules without icons or tests, so that the build could fail in such a case. * Edit `run_tests.sh` to set correct exit code on failure and rework generation of XUNIT output. Also added some doc about useful environment variables. Added a way to generate an xunit output file when running modules unittests, passing a `XUNIT_OUT` env variable to `run_tests.sh` script. * Modification of `setup.cfg` and `run_tests` scripts to handle code coverage generation. The matching regex in Gitlab for the total code coverage is `TOTAL: (\d+\%\s*)$)`. I also added a script to generate a JSON module status matrix from modules unittests, ready to be sent to a [Weboob-CI](https://github.com/Phyks/weboob-ci) instance. NOTE: Required Python modules are taken from the `setup.py` script. `.ci/requirements.txt` contains the requirements to run the unittests and the CI, whereas `.ci/requirements_modules.txt` contains the specific Python modules required at runtime by Weboob modules. The latter could eventually be replaced by a proper call to `debpydep` script.
-
- Nov 14, 2016
-
-
hydrargyrum authored
Another command was run after executing nose, so the real exit code was lost.
-
- Jul 17, 2015
-
-
Laurent Bachelier authored
related to e93d724e
-
- Oct 01, 2014
-
-
Laurent Bachelier authored
This way run_tests.sh follows what local_run.sh can do.
-
- Jun 18, 2014
-
-
Oleg Plakhotniuk authored
close #1403
-
- Aug 12, 2013
-
-
Laurent Bachelier authored
Because of BSD.
-
- Aug 03, 2013
-
-
Laurent Bachelier authored
It would cause issues if we had a different filename for WEBOOB_BACKENDS.
-
- Apr 10, 2013
-
-
This should make running tests faster, as we do not remove all .pyc files anymore!
-
- Mar 25, 2013
-
-
Laurent Bachelier authored
-
- Nov 11, 2012
-
-
Laurent Bachelier authored
-
Laurent Bachelier authored
when run by buildslaves
-
- Nov 10, 2012
-
-
Some were not caught, and they were ran even for a single-module test. Also, don't include them in the report.
-
There is no processing of the reports for now, but the submit part is done.
-
- Apr 27, 2012
-
-
- Apr 10, 2012
-
-
Laurent Bachelier authored
Get the explicit Python 2 version if there is one. fixes #842
-
- Mar 14, 2012
-
-
Laurent Bachelier authored
-
- Feb 28, 2012
-
-
Laurent Bachelier authored
-
- Feb 12, 2012
-
-
Laurent Bachelier authored
-
- Jan 30, 2012
-
-
Laurent Bachelier authored
-
- Jan 27, 2012
-
-
Laurent Bachelier authored
Tested with dash & bash.
-
Laurent Bachelier authored
Also minor improvements on style.
-
- Jan 18, 2012
-
-
Laurent Bachelier authored
-
Laurent Bachelier authored
-
- Jan 17, 2012
-
-
Laurent Bachelier authored
It will use a temporary directory. It reads the WEBOOB_WORKDIR variable if you want a different backends file. It sets sources.list by itself. The temporary directory is removed if possible. It is still possible to test only one backend.
-
Romain Bignon authored
-
- Aug 30, 2010
-
-
Romain Bignon authored
-
- Aug 13, 2010
-
-
Romain Bignon authored
-