Cédric Krier
e15c0b7d7a
Upgrade to pyproject using hatchling as build-system
2026-03-21 18:46:34 +01:00
José Antonio Díaz Miralles
6bbf39afb4
Replace bower by nodejs to handle dependencies
...
Closes #13566
2024-10-04 20:54:56 +02:00
Cédric Krier
1e151a15a2
Remove support for Python 3.8
2025-04-06 12:11:03 +02:00
Cédric Krier
6d8b42c687
Add support for Python 3.13
2025-04-06 12:10:20 +02:00
Cédric Krier
8763c2fb69
Use LTS version of node for CI
...
Closes #13404
2024-07-19 13:17:08 +02:00
Cédric Krier
57fbc89e78
Use TMPDIR as data folder to test demo
...
This reverts c4ab3ed92bf3 because since 6837a618f53d the size required is too
much for the default shm_size (300000 bytes) of the runners.
2024-12-25 14:30:44 +01:00
Cédric Krier
167dc9629e
Use /dev/shm as database path in demo CI jobs
2024-12-17 16:01:05 +01:00
Cédric Krier
430a359eed
Use TMPDIR for CI jobs
2024-12-17 16:00:31 +01:00
Cédric Krier
c31522734f
Test PostgreSQL backend with all Python versions
...
The backend contains Python code that should be tested for all versions.
2024-12-14 17:17:28 +01:00
Cédric Krier
77dd7b3771
Test only last Python version with PostgreSQL
2024-11-24 13:55:42 +01:00
Cédric Krier
3f3320a70d
Do not run pipeline on draft merge request
2024-11-22 13:50:10 +01:00
Cédric Krier
015f454609
Add CI check for chart of accounts
2024-10-30 19:02:22 +01:00
Cédric Krier
c1a736f118
Add rules to check code jobs to run only if targeted files have changed
2024-10-24 10:43:59 +02:00
Cédric Krier
18aad8ae0e
Install setuptools before generate and check documentation
...
Closes #13628
2024-10-25 09:44:39 +02:00
Cédric Krier
803fc3a54a
Reduce the size of docs artifact
...
We just need to objects.inv for intersphinx mapping.
And as the linkcheck verifies only http links, we do not need the html files.
2024-10-24 10:13:31 +02:00
Cédric Krier
e23c126c90
Cache http-v2 pip directory
...
Since pip 23.3 the HTTP requests are cached in a new directory.
2024-05-03 00:25:48 +02:00
Cédric Krier
4a6e8e5823
Set PIP_CACHE_DIR for job using pip
2024-05-03 00:19:28 +02:00
Cédric Krier
a9a5be0834
Add demo script
2024-04-28 13:58:17 +02:00
Cédric Krier
7dcfcfcb3a
Replace jshint by eslint
...
Closes #13087
2024-03-11 23:33:12 +01:00
Cédric Krier
88ac130d2f
Remove readthedocs
2024-02-18 18:35:54 +01:00
Cédric Krier
d18d5fb061
Reduce tox verbosity
2024-01-16 18:17:27 +01:00
Cédric Krier
406092be4d
Check doctest files
...
They are converted to python files before running checks.
2024-01-14 19:21:56 +01:00
Cédric Krier
fac8bb3e18
Always trigger default branch on readthedocs
...
This allows readthedocs to detect new branches:
https://github.com/readthedocs/readthedocs.org/issues/9106
Closes #12694
2023-10-31 23:04:37 +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