Skip to content

JOSS review: Test Suite for the infdb Python package #15 - github wor… #2

JOSS review: Test Suite for the infdb Python package #15 - github wor…

JOSS review: Test Suite for the infdb Python package #15 - github wor… #2

Workflow file for this run

name: tests
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Install dependencies
run: uv sync --group=test
- name: Run tests
run: uv run pytest --cov=src --cov-report=xml --cov-report=html
- name: Upload coverage report
uses: actions/upload-artifact@v4
if: always()
with:
name: coverage-report
path: htmlcov/
retention-days: 7