Change CI
Some checks failed
ci / main (push) Failing after 1m27s

This commit is contained in:
Tokiniaina 2024-10-24 14:55:38 +03:00
parent 64bbd570b5
commit cee1265b7f
3 changed files with 6 additions and 18 deletions

View File

@ -47,11 +47,7 @@ jobs:
load: true
- name: Tests
run: |
docker run -v $(PWD)/tests:/mnt/tests \
--network=host \
-e PGHOST=localhost \
${{ env.TAGS }}:latest \
/mnt/tests/runtests.sh
docker run --name test --network=host -v "$(pwd):/mnt" -w /mnt/tests --rm odoo17 ./runtests.sh
- name: Push image
uses: docker/build-push-action@v6
with:

View File

@ -3,6 +3,3 @@ FROM odoo:17.0
# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf
RUN pip install mygeotab
ENTRYPOINT ["/entrypoint.sh"]
CMD ["odoo"]

View File

@ -1,19 +1,14 @@
services:
test:
image: registry.ethumada.com/odoo/odoo17co:latest
# build:
# context: ..
# args:
# codename: jammy
# python_version: "3.10"
# odoo_version: "16.0"
image: odoo17
volumes:
- ..:/mnt/odoo
working_dir: /mnt/odoo/tests
- ..:/mnt
working_dir: /mnt/tests
depends_on:
- postgres
command: ["./runtests.sh"]
postgres:
image: postgres
image: postgres:15
environment:
POSTGRES_USER: odoo
POSTGRES_PASSWORD: odoo