From d9752bca8c53f0e6cb02b94e3a3c03d9eafa689c Mon Sep 17 00:00:00 2001 From: Marc Durepos Date: Tue, 19 Mar 2024 15:04:19 -0400 Subject: [PATCH] add github workflow to test odoo --- .github/workflows/test.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..c1fae87 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,33 @@ +name: tests + +on: + pull_request: + branches: + - "17.0-test-ci" + push: + branches: + -"17.0-test-ci" + +jobs: + test: + runs-on: ubuntu-22.04 + container: ghcr.io/bemade/test-odoo_arm64:latest + name: Test Repo Addons With Odoo + strategy: + fail-fast: false + services: + postgres: + image: postgres:12.0 + env: + POSTGRES_USER: odoo + POSTGRES_PASSWORD: odoo + POSTGRES_DB: odoo + ports: + - 5432:5432 + steps: + - uses: actions/checkout@v4 + with: + persist-credientials: false + - name: Run Tests + run: run_tests.sh +