parent
64bbd570b5
commit
cee1265b7f
@ -47,11 +47,7 @@ jobs:
|
|||||||
load: true
|
load: true
|
||||||
- name: Tests
|
- name: Tests
|
||||||
run: |
|
run: |
|
||||||
docker run -v $(PWD)/tests:/mnt/tests \
|
docker run --name test --network=host -v "$(pwd):/mnt" -w /mnt/tests --rm odoo17 ./runtests.sh
|
||||||
--network=host \
|
|
||||||
-e PGHOST=localhost \
|
|
||||||
${{ env.TAGS }}:latest \
|
|
||||||
/mnt/tests/runtests.sh
|
|
||||||
- name: Push image
|
- name: Push image
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
@ -3,6 +3,3 @@ FROM odoo:17.0
|
|||||||
# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf
|
# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf
|
||||||
|
|
||||||
RUN pip install mygeotab
|
RUN pip install mygeotab
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
|
||||||
CMD ["odoo"]
|
|
@ -1,19 +1,14 @@
|
|||||||
services:
|
services:
|
||||||
test:
|
test:
|
||||||
image: registry.ethumada.com/odoo/odoo17co:latest
|
image: odoo17
|
||||||
# build:
|
|
||||||
# context: ..
|
|
||||||
# args:
|
|
||||||
# codename: jammy
|
|
||||||
# python_version: "3.10"
|
|
||||||
# odoo_version: "16.0"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ..:/mnt/odoo
|
- ..:/mnt
|
||||||
working_dir: /mnt/odoo/tests
|
working_dir: /mnt/tests
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
command: ["./runtests.sh"]
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres
|
image: postgres:15
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: odoo
|
POSTGRES_USER: odoo
|
||||||
POSTGRES_PASSWORD: odoo
|
POSTGRES_PASSWORD: odoo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user