Skip to content

Commit b9c62c3

Browse files
committed
[FIX][CI] Fix CI Errors
1 parent 8efb8b0 commit b9c62c3

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
ubuntu: ['20.04', '22.04', '24.04']
35+
ubuntu: ['22.04', '24.04']
3636
env:
3737
CI_RUN: '1'
3838
ODOO_HELPER_INSTALL_PATH: ${{ github.workspace }}
@@ -50,11 +50,9 @@ jobs:
5050
run: |
5151
sudo apt-get update -qq && sudo apt-get install -yqq adduser sudo locales git
5252
sudo update-locale LANG=C.UTF-8 LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8
53-
sudo adduser -q --disabled-password --gecos '' odoo
54-
echo ' odoo ALL=(ALL) NOPASSWD:ALL' | sudo tee -a /etc/sudoers
55-
sudo -u odoo -HE git config --global user.email "test-oh@test.test"
56-
sudo -u odoo -HE git config --global user.name "test-oh"
53+
git config --global user.email "test-oh@test.test"
54+
git config --global user.name "test-oh"
5755
- name: Install odoo-helper-scripts
5856
run: sudo -E bash install-system.bash
5957
- name: Run tests
60-
run: sudo -u odoo -HE bash tests/test.bash
58+
run: bash tests/test.bash

0 commit comments

Comments
 (0)