Add test instructions (#365) #64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lumigator SDK tests | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "**" | |
workflow_dispatch: | |
jobs: | |
sdk-unit-tests: | |
name: SDK unit tests - Python | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
- name: Install python | |
run: uv python install | |
working-directory: lumigator/python/mzai/sdk | |
- name: Run tests | |
run: uv run pytest | |
working-directory: lumigator/python/mzai/sdk |