Skip to content

Commit 62d02fd

Browse files
authored
fix(CI): Install missing dependencies (#66)
1 parent 5c26979 commit 62d02fd

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@v4
3030

31-
- if: runner.os == 'Linux'
32-
name: Install Microsoft ODBC Drivers
31+
- name: Install additional dependencies
3332
run: sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 libmariadb-dev
3433

3534
- name: Set up Python ${{ matrix.python-version }}
@@ -43,21 +42,21 @@ jobs:
4342
- name: Intall dependencies
4443
run: uv sync --frozen
4544

46-
- if: matrix.python-version == '3.12' && runner.os == 'Linux'
45+
- if: matrix.python-version == '3.12'
4746
name: Run tests with coverage tracking
4847
run: uv run pytest --cdist-group=${{ matrix.cdist-group }}/3 -k "not elasticsearch"
4948

50-
- if: matrix.python-version != '3.12' || runner.os != 'Linux'
49+
- if: matrix.python-version != '3.12'
5150
name: Run tests without tracking coverage
5251
run: uv run pytest --cdist-group=${{ matrix.cdist-group }}/3 -k "not elasticsearch"
5352

54-
- if: matrix.python-version == '3.12' && runner.os == 'Linux'
53+
- if: matrix.python-version == '3.12'
5554
uses: actions/upload-artifact@v4
5655
with:
5756
name: coverage-xml
5857
path: coverage.xml
5958

60-
- if: matrix.python-version == '3.12' && runner.os == 'Linux'
59+
- if: matrix.python-version == '3.12'
6160
name: Upload coverage reports to Codecov
6261
uses: codecov/[email protected]
6362
with:
@@ -68,6 +67,9 @@ jobs:
6867
test_elasticsearch:
6968
runs-on: ubuntu-latest
7069
steps:
70+
- name: Install additional dependencies
71+
run: sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 libmariadb-dev
72+
7173
- uses: actions/checkout@v4
7274

7375
- name: Set up Python

0 commit comments

Comments
 (0)