c3bf08ac8d
K8s Workspace Integration Tests / k8s-workspace-tests (push) Has been cancelled
Pre-commit / run (ubuntu-latest) (push) Has been cancelled
Python Unittest Coverage / test (macos-15, 3.11) (push) Has been cancelled
Python Unittest Coverage / test (ubuntu-latest, 3.11) (push) Has been cancelled
Python Unittest Coverage / test (windows-latest, 3.11) (push) Has been cancelled
Web UI / check (push) Has been cancelled
32 lines
816 B
YAML
32 lines
816 B
YAML
name: Python Unittest Coverage
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
if: false == contains(github.event.pull_request.title, 'WIP')
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-15]
|
|
python-version: ['3.11']
|
|
env:
|
|
OS: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: Install Dev Dependencies
|
|
run: |
|
|
uv pip install -q -e .[dev]
|
|
uv pip install coverage pytest
|
|
- name: Run tests with coverage
|
|
env:
|
|
GRPC_VERBOSITY: ERROR
|
|
run: |
|
|
coverage run -m pytest tests
|
|
- name: Generate coverage report
|
|
run: |
|
|
coverage report -m |