Skip to content

Commit

Permalink
[FIX] fix ci tests failing
Browse files Browse the repository at this point in the history
mark foodhub_product_fields as a rebel module as it makes some fields
required and make tests of other modules fail.
  • Loading branch information
huguesdk committed Sep 22, 2023
1 parent c328302 commit 27a0804
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 15 deletions.
6 changes: 4 additions & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v2.1.8
_commit: v2.1.10
_src_path: https://github.com/coopiteasy/oca-addons-repo-template.git
ci: GitHub
dependency_installation_mode: OCA
Expand All @@ -11,11 +11,13 @@ github_enable_makepot: true
github_enable_stale_action: true
github_enforce_dev_status_compatibility: true
include_wkhtmltopdf: false
odoo_test_flavor: OCB
odoo_version: 12.0
org_name: Coop IT Easy SC
org_slug: coopiteasy
rebel_module_groups:
- provelo_custom
- foodhub_copy_product_fields,foodhub_custom,foodhub_custom_product_kanban_view,foodhub_label_custom,foodhub_product_fields
- provelo_analytic_account,provelo_custom,provelo_custom_display_phone,provelo_custom_invoice_auto_open,provelo_custom_timesheet_ui,provelo_resource_activity_reports
repo_description: Custom modules for Coop IT Easy's clients.
repo_name: cie-custom
repo_slug: cie-custom
Expand Down
5 changes: 0 additions & 5 deletions .github/pull_request_template.md.rej

This file was deleted.

12 changes: 9 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,17 @@ jobs:
matrix:
include:
- container: ghcr.io/oca/oca-ci/py3.6-ocb12.0:latest
exclude: "provelo_custom"
include: "foodhub_copy_product_fields,foodhub_custom,foodhub_custom_product_kanban_view,foodhub_label_custom,foodhub_product_fields"
name: test with OCB
makepot: "true"
- container: ghcr.io/oca/oca-ci/py3.6-ocb12.0:latest
include: "provelo_analytic_account,provelo_custom,provelo_custom_display_phone,provelo_custom_invoice_auto_open,provelo_custom_timesheet_ui,provelo_resource_activity_reports"
name: test with OCB
makepot: "true"
- container: ghcr.io/oca/oca-ci/py3.6-ocb12.0:latest
exclude: "foodhub_copy_product_fields,foodhub_custom,foodhub_custom_product_kanban_view,foodhub_label_custom,foodhub_product_fields,provelo_analytic_account,provelo_custom,provelo_custom_display_phone,provelo_custom_invoice_auto_open,provelo_custom_timesheet_ui,provelo_resource_activity_reports"
name: test with OCB
makepot: "true"
services:
postgres:
image: postgres:9.6
Expand All @@ -38,8 +46,6 @@ jobs:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Temporarily remove provelo_custom
run: rm -fr provelo_custom
- name: Install addons and dependencies
run: oca_install_addons
- name: Check licenses
Expand Down
11 changes: 6 additions & 5 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ git+https://github.com/coopiteasy/addons@12.0#subdirectory=setup/company_supplie
git+https://github.com/coopiteasy/addons@12.0#subdirectory=setup/account_customer_wallet
git+https://github.com/coopiteasy/addons@12.0#subdirectory=setup/pos_customer_wallet
git+https://github.com/coopiteasy/addons@12.0#subdirectory=setup/portal_customer_wallet
# git+https://github.com/coopiteasy/csv-connector@12.0#subdirectory=setup/csv_export_base
# git+https://github.com/coopiteasy/csv-connector@12.0#subdirectory=setup/sftp_backend
# git+https://github.com/coopiteasy/csv-connector@12.0#subdirectory=setup/csv_export_invoice
# git+https://github.com/coopiteasy/csv-connector@12.0#subdirectory=setup/csv_export_partner
# git+https://github.com/coopiteasy/csv-connector@12.0#subdirectory=setup/csv_export_payment
git+https://github.com/coopiteasy/cie-hr@12.0#subdirectory=setup/hr_auto_manager_group_membership
git+https://github.com/coopiteasy/csv-connector@12.0#subdirectory=setup/csv_export_base
git+https://github.com/coopiteasy/csv-connector@12.0#subdirectory=setup/sftp_backend
git+https://github.com/coopiteasy/csv-connector@12.0#subdirectory=setup/csv_export_invoice
git+https://github.com/coopiteasy/csv-connector@12.0#subdirectory=setup/csv_export_partner
git+https://github.com/coopiteasy/csv-connector@12.0#subdirectory=setup/csv_export_payment
git+https://github.com/coopiteasy/pos@12-pos_mail_receipt-2#subdirectory=setup/pos_mail_receipt
git+https://github.com/coopiteasy/cie-resource#subdirectory=setup/resource_activity
git+https://github.com/coopiteasy/cie-resource#subdirectory=setup/resource_planning
Expand Down

0 comments on commit 27a0804

Please sign in to comment.