It will be good to run the tests with the built image before publishing it. This would ensure no incompatible dependencies are used.
This would require to install sqlitebck but it is not a big trade-off.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items
0
Link issues together to show that they're related.
Learn more.
To be able to run the tests on the docker image we need to backport #7963 (closed) for modules: product_cost_fifo, account_invoice_history, sale_invoice_grouping, sale_shipment_grouping, stock_supply_forecast.
The tests can be run with: TRYTOND_DATABASE_URI=sqlite:// python3 -m trytond.tests.run-tests -m
Cédric Krieradded 1 deleted label and removed 1 deleted label
Another issue is that by default PYTHONOPTIMIZE is set to 1 so some tests are testing the asserts so they should be skip if we want to tests the image with the same running code.
Cédric Krieradded 1 deleted label and removed 1 deleted label