-
Notifications
You must be signed in to change notification settings - Fork 12
27 lines (25 loc) · 820 Bytes
/
test.yml
File metadata and controls
27 lines (25 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Test Python
on: [push, pull_request]
jobs:
test_python:
runs-on: ubuntu-latest
strategy:
matrix:
version: ['3.10', '3.12']
steps:
- uses: actions/checkout@v2
- uses: astral-sh/setup-uv@v3
with:
version: "latest"
env:
UV_PYTHON: ${{ matrix.version }}
- name: Install vitessce
run: uv sync --extra dev --extra all
- name: Run tests and report coverage with omits
run: |
uv run coverage run --rcfile .coveragerc_omit --module pytest && \
uv run coverage report --show-missing --fail-under 100
- name: Run tests and report coverage without omits
run: |
uv run coverage run --rcfile .coveragerc_real --module pytest && \
uv run coverage report --show-missing