name: Build on: push: branches: - 16.0 jobs: test: runs-on: ubuntu-22.04 container: ${{ matrix.container }} name: ${{ matrix.name }} strategy: fail-fast: false matrix: include: - container: ghcr.io/oca/oca-ci/py3.10-odoo18.0:latest name: test with Odoo - container: ghcr.io/oca/oca-ci/py3.10-ocb18.0:latest name: test with OCB makepot: "true" services: postgres: image: postgres:12.0 env: POSTGRES_USER: odoo POSTGRES_PASSWORD: odoo POSTGRES_DB: odoo ports: - 5432:5432 env: OCA_ENABLE_CHECKLOG_ODOO: "1" steps: - uses: actions/checkout@v4 with: persist-credentials: false - name: Install addons and dependencies run: oca_install_addons - name: Check licenses run: manifestoo -d . check-licenses - name: Check development status run: manifestoo -d . check-dev-status --default-dev-status=Beta - name: Initialize test db run: oca_init_test_database - name: Run tests run: oca_run_tests - uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }}