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
62616362 with :
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