forked from odoo/odoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run all Odoo tests of actively used modules in the pipeline
The script was inspired by the official Odoo runs at https://runbot.odoo.com I have limited the tested modules to the ones that are actively used in our JobRad installation.
- Loading branch information
1 parent
51cc7a4
commit 20df5fa
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
set -u | ||
set -o pipefail | ||
|
||
docker compose -f tests/docker-compose.yml up -d | ||
echo "---*** Running Odoo tests at_install ***---" | ||
docker compose -f tests/docker-compose.yml exec odoo ./odoo-bin -d test --addons-path=addons,odoo/addons \ | ||
-i base,\ | ||
account \ | ||
--test-enable --test-tags=-post_install \ | ||
--stop-after-init | ||
echo "---*** Running Odoo tests post_install ***---" | ||
docker compose -f tests/docker-compose.yml exec odoo ./odoo-bin -d test --addons-path=addons,odoo/addons \ | ||
--test-enable --test-tags=/base\ | ||
/account \ | ||
--stop-after-init | ||
docker compose -f tests/docker-compose.yml down -v | ||
|