mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-23 18:04:34 +00:00
sync project
This commit is contained in:
+15
-15
@@ -3,11 +3,11 @@ name: tests
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- "16.0*"
|
||||
- "17.0*"
|
||||
push:
|
||||
branches:
|
||||
- "16.0"
|
||||
- "16.0-ocabot-*"
|
||||
- "17.0"
|
||||
- "17.0-ocabot-*"
|
||||
|
||||
jobs:
|
||||
unreleased-deps:
|
||||
@@ -35,20 +35,20 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- container: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest
|
||||
- container: ghcr.io/oca/oca-ci/py3.10-odoo17.0:latest
|
||||
include: "attachment_azure,cloud_platform_azure"
|
||||
makepot: "false"
|
||||
name: test azure with Odoo
|
||||
- container: ghcr.io/oca/oca-ci/py3.10-ocb16.0:latest
|
||||
name: test with Odoo
|
||||
- container: ghcr.io/oca/oca-ci/py3.10-ocb17.0:latest
|
||||
include: "attachment_azure,cloud_platform_azure"
|
||||
name: test azure with OCA
|
||||
- container: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest
|
||||
exclude: "attachment_s3,cloud_platform_exoscale,attachment_swift,cloud_platform_ovh,attachment_azure,cloud_platform_azure"
|
||||
name: test with OCB
|
||||
makepot: "false"
|
||||
- container: ghcr.io/oca/oca-ci/py3.10-odoo17.0:latest
|
||||
exclude: "attachment_azure,cloud_platform_azure"
|
||||
name: test with Odoo
|
||||
- container: ghcr.io/oca/oca-ci/py3.10-ocb17.0:latest
|
||||
exclude: "attachment_azure,cloud_platform_azure"
|
||||
name: test with OCB
|
||||
makepot: "false"
|
||||
name: test others with Odoo
|
||||
- container: ghcr.io/oca/oca-ci/py3.10-ocb16.0:latest
|
||||
exclude: "attachment_s3,cloud_platform_exoscale,attachment_swift,cloud_platform_ovh,attachment_azure,cloud_platform_azure"
|
||||
name: test others with OCB
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:12.0
|
||||
@@ -69,6 +69,7 @@ jobs:
|
||||
run: oca_install_addons
|
||||
- name: Check licenses
|
||||
run: manifestoo -d . check-licenses
|
||||
continue-on-error: true
|
||||
- name: Check development status
|
||||
run: manifestoo -d . check-dev-status --default-dev-status=Beta
|
||||
continue-on-error: true
|
||||
@@ -76,7 +77,6 @@ jobs:
|
||||
run: oca_init_test_database
|
||||
- name: Run tests
|
||||
run: oca_run_tests
|
||||
- uses: codecov/codecov-action@v1
|
||||
- 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 == 'camptocamp' }}
|
||||
|
||||
Reference in New Issue
Block a user