Skip to content

add unit test for trainer sdk #6

add unit test for trainer sdk

add unit test for trainer sdk #6

Workflow file for this run

name: Unit Test - Python
on:
- pull_request
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/action@v3.0.1
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install uv
run: |
make uv
- name: Run Tests
run: |
make test-unit xml=true
- name: Upload coverage to Coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
coveralls --verbose || echo "Coveralls report failed"