Commit Graph
31 Commits
Author SHA1 Message Date
Cédric Krier 3dfe2d5e88 Cache http-v2 pip directory
Since pip 23.3 the HTTP requests are cached in a new directory.
(grafted from 302a87c908d80c77b8e656aa1c3f215e8482caac)

--HG--
branch : 7.0
2024-05-03 00:25:48 +02:00
Cédric Krier ae970e9bb1 Set PIP_CACHE_DIR for job using pip
(grafted from 76d925f088f8e619c6aae411c3385bf8820e2462)

--HG--
branch : 7.0
2024-05-03 00:19:28 +02:00
Cédric Krier caee2b8855 Replace jshint by eslint
Closes #13087
(grafted from b2a2c9483562f6ae5430df5cc957148003ac3520)

--HG--
branch : 7.0
2024-03-11 23:33:12 +01:00
Cédric Krier c4d4951525 Remove readthedocs
(grafted from 2f67994e59b0bca29d7b0632a51540774b109140)

--HG--
branch : 7.0
2024-02-18 18:35:54 +01:00
Cédric Krier 7b117d98ba Disable navigation_with_keys for linting
pydata-sphinx-theme 0.14.2 raises a warning with the default value of
navigation_with_keys.

Closes #12666
2023-10-25 12:06:34 +02:00
Cédric Krier 4e010a988f Add support for Python 3.12 2023-10-22 19:40:55 +02:00
Cédric Krier 2d72bc32b1 Use template as database cache for postgresql tests 2023-09-16 11:40:24 +02:00
Cédric Krier b0e4093dcb Trigger build when .readthedocs.yaml is changed 2023-09-03 18:05:23 +02:00
Cédric Krier 6a06579e13 Use Sphinx book theme for documentation 2023-09-01 09:44:09 +02:00
Cédric Krier e3444ecac8 Check modules against template model
Some files in modules should always be the same as the template.
We add a CI task to check those files against a new templated version of the
module.
2023-08-12 13:52:54 +02:00
Cédric Krier 0c4bc6752a Add check for README.rst file
Closes #12111
2023-03-15 15:29:57 +01:00
Cédric Krier b719d8aed1 Add rstcheck 2023-03-15 16:33:19 +01:00
Nicolas Évrard 039761e061 Remove support for Python 3.7 2023-01-29 20:36:51 +01:00
Nicolas Évrard 777ee10f27 Add support for Python 3.11 2023-01-27 11:02:47 +01:00
Hartmut Goebel 30bd29a236 Make isort output required changes 2023-02-11 12:55:43 +01:00
Cédric Krier 28ab7d64a4 Check mercurial status only in trytond directory after updating rng
Closes #12075
2023-02-10 09:35:52 +01:00
Cédric Krier eeb0bc72d4 Apply sphinx-lint to documentation 2023-02-04 21:02:37 +01:00
Cédric Krier f3489dc20c Add cache for check-trytond-rng
As the job install rnc2rng, it is better to use cache.
2023-02-04 21:19:55 +01:00
Cédric Krier 746d1d840a Add cookiecutter template for module 2023-01-11 19:01:37 +01:00
Cédric Krier 7dd21444bb Add check if RNG files are up to date 2023-01-15 11:42:01 +01:00
Cédric Krier 615c6c6260 Do not check documentation nor run test on tag
The tag pipeline has CI_COMMIT_SHA filled but changes rules are always true.
Thus the documentation checks and tests are run for all modules.
So the changes rules should be evaluated if CI_COMMIT_TAG is empty.
2023-01-15 21:23:43 +01:00
Cédric Krier 36dd3f68ae Check documentation links only when CHECK_LINK is set 2023-01-11 13:44:38 +01:00
Sergi Almacellas Abellana dbe81a2def Check isort and flake on all files 2023-01-11 14:22:37 +01:00
Sergi Almacellas Abellana 9ca0f25dba Add trytond_gis as isort know_first_party 2023-01-11 14:46:23 +01:00
Cédric Krier fdb8ba3c0c Simplify workflow rule 2023-01-11 15:53:43 +01:00
Cédric Krier 2b786d8c44 Add coverage reports 2023-01-08 11:18:56 +01:00
Cédric Krier 62e8201d5a Add unit test reports 2023-01-08 01:55:20 +01:00
Cédric Krier 5f8b891f62 Increase verbosity of tox 2022-12-28 00:26:31 +01:00
Cédric Krier 2eb503a855 Optimize pipeline DAG 2023-01-03 22:23:17 +01:00
Cédric Krier e64d40b3a7 Pre-generate ci for modules 2023-01-03 22:02:01 +01:00
Cédric Krier 5d3e4a39f2 Prepare migration to monorepo 2022-12-16 23:16:08 +01:00