Skip to content

Conda to uv

Conda to uv #1340

Workflow file for this run

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