mirror of
https://github.com/brain-tec/account_ebics.git
synced 2025-08-13 14:15:36 +00:00
[UPD] copier update
This commit is contained in:
@@ -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.8
|
_commit: v5.0
|
||||||
_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
|
||||||
|
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@@ -80,11 +80,7 @@ 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
|
||||||
@@ -101,6 +97,9 @@ jobs:
|
|||||||
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 "ODOO_MODULES_AUTO_INSTALL_DISABLED=${{ matrix.EXCLUDE_MODULES }}" >> $GITHUB_ENV
|
echo "ODOO_MODULES_AUTO_INSTALL_DISABLED=${{ matrix.EXCLUDE_MODULES }}" >> $GITHUB_ENV
|
||||||
|
- name: Inject GitHub token for Noviat orgs in test-requirements.txt
|
||||||
|
run: |
|
||||||
|
sed -i -E "s#https://github.com/(Noviat-(Projects|Generic|ARP|Internal))#https://${{ secrets.PRIVATE_TOKEN }}@github.com/\1#g" test-requirements.txt
|
||||||
- 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)
|
||||||
|
@@ -43,7 +43,7 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: whool-init
|
- id: whool-init
|
||||||
- repo: https://github.com/oca/maintainer-tools
|
- repo: https://github.com/oca/maintainer-tools
|
||||||
rev: bf9ecb9938b6a5deca0ff3d870fbd3f33341fded
|
rev: b89f767503be6ab2b11e4f50a7557cb20066e667
|
||||||
hooks:
|
hooks:
|
||||||
# update the NOT INSTALLABLE ADDONS section above
|
# update the NOT INSTALLABLE ADDONS section above
|
||||||
- id: oca-update-pre-commit-excluded-addons
|
- id: oca-update-pre-commit-excluded-addons
|
||||||
@@ -110,7 +110,7 @@ repos:
|
|||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
args: ["--fix=lf"]
|
args: ["--fix=lf"]
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.1.3
|
rev: v0.6.8
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: [--fix, --exit-non-zero-on-fix]
|
args: [--fix, --exit-non-zero-on-fix]
|
||||||
|
Reference in New Issue
Block a user