diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 22904b06..83a49260 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -25,7 +25,7 @@ jobs: strategy: matrix: #odoo_serie: ["11.0","12.0", "13.0", "14.0", "15.0", "16.0", "17.0"] - odoo_serie: ["13.0"] + odoo_serie: ["16.0"] steps: - uses: actions/checkout@v4 @@ -72,8 +72,8 @@ jobs: docker image ls - #- name: Test - # run: make VERSION=${{ matrix.odoo_serie }} test + - name: Test + run: test.sh - name: Login to GitHub Container Registry if: github.event_name == 'push' || github.event_name == 'schedule' diff --git a/Makefile b/Makefile deleted file mode 100644 index 298f942e..00000000 --- a/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -ifndef VERSION -$(error VERSION is not set) -endif - - -IMAGE_LATEST=ci-latest:0.1 -BUILD_TAG=$(IMAGE_LATEST) - -export - -all: build - -.PHONY: setup -setup: - bash setup.sh - - - - -.PHONY: test -test: - bash test.sh diff --git a/test.sh b/test.sh index 2402669f..0aeabe4b 100755 --- a/test.sh +++ b/test.sh @@ -15,6 +15,9 @@ set -Eeuo pipefail # * VERSION (9.0, 10.0, 11.0, ...) # * IMAGE_LATEST (tag of the 'latest' image built) # +IMAGE_LATEST=ci-latest:0.1 +BUILD_TAG=$(IMAGE_LATEST) + if [ -z "$VERSION" ]; then echo "VERSION environment variable is missing"