mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
fix(ci): install mariadb connectors on all runners
uv sync installs sqlalchemy[mariadb-connector] regardless of which database is being tested, so libmariadb-dev must be present on all runners. The postgres migration job and pytest postgresql matrix were missing this step.
This commit is contained in:
5
.github/workflows/migrations.yml
vendored
5
.github/workflows/migrations.yml
vendored
@@ -31,6 +31,11 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install mariadb connectors
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libmariadb3 libmariadb-dev
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v6.7.0
|
||||
|
||||
|
||||
1
.github/workflows/pytest.yml
vendored
1
.github/workflows/pytest.yml
vendored
@@ -53,7 +53,6 @@ jobs:
|
||||
uses: actions/checkout@v4.3.0
|
||||
|
||||
- name: Install mariadb connectors
|
||||
if: matrix.db == 'mariadb'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libmariadb3 libmariadb-dev
|
||||
|
||||
Reference in New Issue
Block a user