diff --git a/.copier-answers.yml b/.copier-answers.yml index fd762c0179..5e890ec6be 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.21.1 +_commit: v1.22 _src_path: gh:oca/oca-addons-repo-template ci: GitHub convert_readme_fragments_to_markdown: false @@ -17,6 +17,7 @@ org_name: Odoo Community Association (OCA) org_slug: OCA rebel_module_groups: - sale_timesheet_rounded +- hr_timesheet_begin_end_no_end repo_description: 'TODO: add repo description.' repo_name: timesheet repo_slug: timesheet diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3bad198c1f..c9ec40ce5d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,18 +37,25 @@ jobs: include: - container: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest include: "sale_timesheet_rounded" - makepot: "true" name: test with Odoo - container: ghcr.io/oca/oca-ci/py3.10-ocb16.0:latest include: "sale_timesheet_rounded" name: test with OCB + makepot: "true" - container: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest - exclude: "sale_timesheet_rounded" + include: "hr_timesheet_begin_end_no_end" + name: test with Odoo + - container: ghcr.io/oca/oca-ci/py3.10-ocb16.0:latest + include: "hr_timesheet_begin_end_no_end" + name: test with OCB makepot: "true" + - container: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest + exclude: "sale_timesheet_rounded,hr_timesheet_begin_end_no_end" name: test with Odoo - container: ghcr.io/oca/oca-ci/py3.10-ocb16.0:latest - exclude: "sale_timesheet_rounded" + exclude: "sale_timesheet_rounded,hr_timesheet_begin_end_no_end" name: test with OCB + makepot: "true" services: postgres: image: postgres:12.0 @@ -79,9 +86,5 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} - name: Update .pot files - run: - oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN - }}@github.com/${{ github.repository }} - if: - ${{ matrix.makepot == 'true' && github.event_name == 'push' && - github.repository_owner == 'OCA' }} + run: oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }} + if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'OCA' }}