Skip to content

mudata 0.4 tests

mudata 0.4 tests #269

Workflow file for this run

name: Code coverage
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install uv
uv venv
source .venv/bin/activate
uv pip install pytest coverage
uv pip install .[dev,docs,test]
- name: Run tests and collect coverage
run: |
source .venv/bin/activate
coverage run -m pytest --cache-clear
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2