Compare commits

..

No commits in common. "cee1265b7f1f27b03afbf915e54f96f3dd2dd0b1" and "8da698851b304f9039b787e819fbee966afba9c9" have entirely different histories.

3 changed files with 18 additions and 6 deletions

View File

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

View File

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