Skip to content
  1. Feb 11, 2023
  2. Mar 24, 2021
  3. Feb 27, 2021
  4. Mar 18, 2020
  5. Jan 06, 2019
  6. May 12, 2018
  7. Apr 23, 2018
  8. Jun 19, 2017
  9. Jan 16, 2017
  10. Dec 24, 2016
    • Phyks (Lucas Verney)'s avatar
      Work on Weboob linting · 35408601
      Phyks (Lucas Verney) authored
      * Sort alphabetically modules in weboob linting script
      * Remove btdigg module, as btdigg website is dead.
      * Add icons for all modules with a missing icon.
      * Add some unittests for LDLC.
      35408601
    • Phyks (Lucas Verney)'s avatar
      Gitlab-CI continuous integration · 434c0f15
      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.
      434c0f15
  11. Oct 06, 2014
  12. Sep 26, 2014
  13. Oct 27, 2012
  14. Jan 17, 2012
  15. Feb 26, 2011
  16. Sep 17, 2010
  17. Aug 11, 2010