Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ jobs:
steps:
- uses: actions/checkout@v4

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

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

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

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

- if: matrix.python-version == '3.12' && runner.os == 'Linux'
- if: matrix.python-version == '3.12'
uses: actions/upload-artifact@v4
with:
name: coverage-xml
path: coverage.xml

- if: matrix.python-version == '3.12' && runner.os == 'Linux'
- if: matrix.python-version == '3.12'
name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
Expand All @@ -68,6 +67,9 @@ jobs:
test_elasticsearch:
runs-on: ubuntu-latest
steps:
- name: Install additional dependencies
run: sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 libmariadb-dev

- uses: actions/checkout@v4

- name: Set up Python
Expand Down
Loading