- Feb 11, 2023
-
-
Romain Bignon authored
-
- Oct 20, 2021
-
-
hydrargyrum authored
-
hydrargyrum authored
Warning: the reported coverage is much lower than before. But when reading the previous reports, it seems the coverage was overestimated by large, mostly because old report did not consider all files in woob dir. Also for some reason pytest's JUnit XML uses `modules.<name>.<class>` with the `modules.` prefix so we take it into account in testing grid.
-
- Sep 18, 2021
-
-
hydrargyrum authored
Sometimes, it's desirable to run tests even if some modules can't be loaded.
-
- Mar 24, 2021
-
-
- Mar 05, 2021
-
-
hydrargyrum authored
For user setups, a number of dirs are used, whose paths are customizable. For workdir, before: - $WEBOOB_WORKDIR - $XDG_CONFIG_HOME/weboob and after: - $WOOB_WORKDIR - $WEBOOB_WORKDIR - $XDG_CONFIG_HOME/woob - $XDG_CONFIG_HOME/weboob If the old name is found in $XDG_CONFIG_HOME, it will try to rename it. For data dir, now: - $WOOB_DATADIR - $WOOB_WORKDIR - $WEBOOB_DATADIR - $WEBOOB_WORKDIR - $XDG_DATA_HOME/woob - $XDG_DATA_HOME/weboob Also, $WOOB_BACKENDS then $WEBOOB_BACKENDS.
-
- Mar 03, 2021
-
-
hydrargyrum authored
By forcing argv, "config update" was received as a command.
-
- Mar 01, 2021
-
-
hydrargyrum authored
-
- Feb 27, 2021
-
-
hydrargyrum authored
-
hydrargyrum authored
-
- Dec 15, 2019
-
-
hydrargyrum authored
For now, run using weboob package from PYTHONPATH. Maybe we should require setup.py to have been run before being able to start run_tests. This way, we're sure everything is set up. Same for make_man and weboob_lint.
-
- Nov 30, 2019
-
-
Under Python 3, __pycache__ is used, and is not cleaned up. It is also not necessary to clean it up anymore, since those .pyc files cannot be imported without a .py files unlike what happens under Python 2.
-
- 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
-