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
47 changes: 0 additions & 47 deletions .github/workflows/tests-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,50 +47,3 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
attempt_limit: 5
attempt_delay: 10000
name: Unit tests

on:
workflow_call:
inputs:
BRANCH_REF:
type: string
required: true
secrets:
CODECOV_TOKEN:
required: true

permissions:
contents: read

jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.14", "3.12"]
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
ref: ${{ inputs.BRANCH_REF }}
fetch-depth: 2
- name: Configure uv environment
uses: ./.github/actions/setup-uv-local
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --frozen --no-dev --group test
- name: Run unit tests
run: uv run --no-sync qa test tests/unit --cov=. --cov-report=xml --log-cli-level=WARNING
- name: Upload coverage to Codecov
uses: Wandalen/wretry.action@v3
with:
action: codecov/codecov-action@v3
with: |
name: unit-tests-${{ matrix.python-version }}
flags: unittests
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
attempt_limit: 5
attempt_delay: 10000