- 24 Mar, 2021 1 commit
-
-
Roger Philibert authored
-
- 05 Mar, 2021 1 commit
-
-
Vincent A 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.
-
- 03 Mar, 2021 1 commit
-
-
Vincent A authored
By forcing argv, "config update" was received as a command.
-
- 01 Mar, 2021 1 commit
-
-
Vincent A authored
-
- 27 Feb, 2021 2 commits
- 15 Dec, 2019 1 commit
-
-
Vincent A 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.
-
- 30 Nov, 2019 1 commit
-
-
Laurent Bachelier authored
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.
-
- 02 Jan, 2019 1 commit
-
-
Romain Bignon authored
-
- 26 Apr, 2018 2 commits
-
-
Sébastien Marie authored
- use env(1) to found bash on the system - remove bash dependency on few scripts
-
Sébastien Marie authored
-
- 23 Apr, 2018 1 commit
-
-
Phyks (Lucas Verney) authored
-
- 11 Jul, 2017 3 commits
-
-
Laurent Bachelier authored
-
Laurent Bachelier authored
-
Laurent Bachelier authored
This is starting to get quite repetitive though.
-
- 19 Jun, 2017 1 commit
-
-
Vincent A 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.
-
- 24 Dec, 2016 2 commits
-
-
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.
-
- 14 Nov, 2016 1 commit
-
-
Vincent A authored
Another command was run after executing nose, so the real exit code was lost.
-
- 17 Jul, 2015 1 commit
-
-
Laurent Bachelier authored
related to e93d724e
-
- 01 Oct, 2014 1 commit
-
-
Laurent Bachelier authored
This way run_tests.sh follows what local_run.sh can do.
-
- 18 Jun, 2014 1 commit
-
-
Oleg Plakhotniuk authored
close #1403
-
- 12 Aug, 2013 1 commit
-
-
Laurent Bachelier authored
Because of BSD.
-
- 03 Aug, 2013 1 commit
-
-
Laurent Bachelier authored
It would cause issues if we had a different filename for WEBOOB_BACKENDS.
-
- 10 Apr, 2013 1 commit
-
-
Laurent Bachelier authored
This should make running tests faster, as we do not remove all .pyc files anymore!
-
- 25 Mar, 2013 1 commit
-
-
Laurent Bachelier authored
-
- 11 Nov, 2012 2 commits
-
-
Laurent Bachelier authored
-
Laurent Bachelier authored
when run by buildslaves
-
- 10 Nov, 2012 2 commits
-
-
Laurent Bachelier authored
Some were not caught, and they were ran even for a single-module test. Also, don't include them in the report.
-
Laurent Bachelier authored
There is no processing of the reports for now, but the submit part is done.
-
- 27 Apr, 2012 1 commit
-
-
Laurent Bachelier authored
-
- 10 Apr, 2012 1 commit
-
-
Laurent Bachelier authored
Get the explicit Python 2 version if there is one. fixes #842
-
- 14 Mar, 2012 1 commit
-
-
Laurent Bachelier authored
-
- 28 Feb, 2012 1 commit
-
-
Laurent Bachelier authored
-
- 12 Feb, 2012 1 commit
-
-
Laurent Bachelier authored
-
- 30 Jan, 2012 1 commit
-
-
Laurent Bachelier authored
-
- 27 Jan, 2012 2 commits
-
-
Laurent Bachelier authored
Tested with dash & bash.
-
Laurent Bachelier authored
Also minor improvements on style.
-
- 18 Jan, 2012 2 commits
-
-
Laurent Bachelier authored
-
Laurent Bachelier authored
-