mirror of
https://github.com/brain-tec/account_ebics.git
synced 2025-07-22 04:17:59 +00:00
copier update
This commit is contained in:
parent
e56c3ea1e7
commit
55bef5d5f9
@ -1,5 +1,5 @@
|
|||||||
# Do NOT update manually; changes here will be overwritten by Copier
|
# Do NOT update manually; changes here will be overwritten by Copier
|
||||||
_commit: v4.3
|
_commit: v4.8
|
||||||
_src_path: git@github.com:Noviat-CI/addons-repo-template.git
|
_src_path: git@github.com:Noviat-CI/addons-repo-template.git
|
||||||
ci_disable_autoinstall_modules: account_asset
|
ci_disable_autoinstall_modules: account_asset
|
||||||
odoo_test_flavor: Both
|
odoo_test_flavor: Both
|
||||||
|
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@ -46,7 +46,7 @@ jobs:
|
|||||||
name: test with Odoo Enterprise
|
name: test with Odoo Enterprise
|
||||||
odoo_enterprise : 1
|
odoo_enterprise : 1
|
||||||
exclude_modules : "account_asset"
|
exclude_modules : "account_asset"
|
||||||
makepot: true
|
makepot: "true"
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:12.0
|
image: postgres:12.0
|
||||||
@ -80,7 +80,11 @@ jobs:
|
|||||||
mkdir -p ${{ env.INSTALL_ADDONS_DIR }}/setup
|
mkdir -p ${{ env.INSTALL_ADDONS_DIR }}/setup
|
||||||
find $(realpath $ADDONS_DIR) $(realpath ${{ env.ADDITIONAL_ADDONS_DIR }}) -name __manifest__.py -exec sh -c 'ln -s "$(dirname "$0")" "${{ env.INSTALL_ADDONS_DIR }}"' {} \;
|
find $(realpath $ADDONS_DIR) $(realpath ${{ env.ADDITIONAL_ADDONS_DIR }}) -name __manifest__.py -exec sh -c 'ln -s "$(dirname "$0")" "${{ env.INSTALL_ADDONS_DIR }}"' {} \;
|
||||||
find $(realpath $ADDONS_DIR) $(realpath ${{ env.ADDITIONAL_ADDONS_DIR }}) -iwholename '*/setup/*/setup.py' -exec sh -c 'ln -s "$(dirname "$0")" "${{ env.INSTALL_ADDONS_DIR }}/setup"' {} \;
|
find $(realpath $ADDONS_DIR) $(realpath ${{ env.ADDITIONAL_ADDONS_DIR }}) -iwholename '*/setup/*/setup.py' -exec sh -c 'ln -s "$(dirname "$0")" "${{ env.INSTALL_ADDONS_DIR }}/setup"' {} \;
|
||||||
|
<<<<<<< before updating
|
||||||
if [ -n ${{ matrix.exclude }} ]
|
if [ -n ${{ matrix.exclude }} ]
|
||||||
|
=======
|
||||||
|
if [ -n ${{ matrix.exclude}} ]
|
||||||
|
>>>>>>> after updating
|
||||||
then
|
then
|
||||||
remove_excluded_modules ${{ env.INSTALL_ADDONS_DIR }} ${{ matrix.exclude }}
|
remove_excluded_modules ${{ env.INSTALL_ADDONS_DIR }} ${{ matrix.exclude }}
|
||||||
fi
|
fi
|
||||||
@ -93,10 +97,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "ADDONS_PATH=/opt/odoo/addons,${{ env.INSTALL_ADDONS_DIR }}" >> $GITHUB_ENV
|
echo "ADDONS_PATH=/opt/odoo/addons,${{ env.INSTALL_ADDONS_DIR }}" >> $GITHUB_ENV
|
||||||
- name: Add addons to EXCLUDE PATH
|
- name: Add addons to EXCLUDE PATH
|
||||||
if: ${{ env.EXCLUDE_MODULES }}
|
if: ${{ matrix.EXCLUDE_MODULES }}
|
||||||
run: |
|
run: |
|
||||||
echo "server_wide_modules = web,module_change_auto_install" >> ${ODOO_RC}
|
echo "server_wide_modules = web,module_change_auto_install" >> ${ODOO_RC}
|
||||||
echo "modules_auto_install_disabled = $EXCLUDE_MODULES" >> ${ODOO_RC}
|
echo "ODOO_MODULES_AUTO_INSTALL_DISABLED=${{ matrix.EXCLUDE_MODULES }}" >> $GITHUB_ENV
|
||||||
- name: Install addons and dependencies
|
- name: Install addons and dependencies
|
||||||
run: |
|
run: |
|
||||||
(ADDONS_PATH=${ADDONS_PATH} ADDONS_DIR=${INSTALL_ADDONS_DIR} oca_install_addons)
|
(ADDONS_PATH=${ADDONS_PATH} ADDONS_DIR=${INSTALL_ADDONS_DIR} oca_install_addons)
|
||||||
|
@ -38,6 +38,10 @@ repos:
|
|||||||
entry: found a en.po file
|
entry: found a en.po file
|
||||||
language: fail
|
language: fail
|
||||||
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
|
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
|
||||||
|
- repo: https://github.com/sbidoul/whool
|
||||||
|
rev: v1.2
|
||||||
|
hooks:
|
||||||
|
- id: whool-init
|
||||||
- repo: https://github.com/oca/maintainer-tools
|
- repo: https://github.com/oca/maintainer-tools
|
||||||
rev: bf9ecb9938b6a5deca0ff3d870fbd3f33341fded
|
rev: bf9ecb9938b6a5deca0ff3d870fbd3f33341fded
|
||||||
hooks:
|
hooks:
|
||||||
@ -45,6 +49,7 @@ repos:
|
|||||||
- id: oca-update-pre-commit-excluded-addons
|
- id: oca-update-pre-commit-excluded-addons
|
||||||
- id: oca-fix-manifest-website
|
- id: oca-fix-manifest-website
|
||||||
args: ["https://www.noviat.com/"]
|
args: ["https://www.noviat.com/"]
|
||||||
|
- id: oca-gen-external-dependencies
|
||||||
- id: oca-gen-addons-table
|
- id: oca-gen-addons-table
|
||||||
- repo: https://github.com/OCA/odoo-pre-commit-hooks
|
- repo: https://github.com/OCA/odoo-pre-commit-hooks
|
||||||
rev: v0.0.33
|
rev: v0.0.33
|
||||||
|
Loading…
x
Reference in New Issue
Block a user