add install postgres @native
Some checks failed
Setup Docker Action / setup_docker (3.12.7) (push) Has been skipped
Setup Native Action / setup_native (3.12.7) (push) Failing after 52s

This commit is contained in:
hoangvv 2025-01-15 09:35:02 +07:00
parent e42507e073
commit 5a96182522
2 changed files with 5 additions and 2 deletions

View File

@ -17,8 +17,11 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}
- name: Install Postgre
uses: ikalnytskyi/action-setup-postgres@v7
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

View File

@ -24,7 +24,7 @@ ADDONS=${PWD}/addons,${PWD}/odoo/addons
install:
sudo apt update -y && \
sudo apt install -y python3-pip libldap2-dev libpq-dev libsasl2-dev postgresql postgresql-client && \
sudo apt install -y python3-pip libldap2-dev libpq-dev libsasl2-dev postgresql-client && \
${PIP} install --no-input -r requirements.txt --break-system-packages
gen_config:
${PWD}/setup/init_config.sh --native ${ADDONS}