Skip to content

added ruff linting badge #30

added ruff linting badge

added ruff linting badge #30

Workflow file for this run

name: Run Pytest
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.14" ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies from uv.lock
run: |
uv sync --frozen --dev
- name: Run tests with coverage
run: |
uv run pytest --cov=moddata tests/
uv run coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }} # only needed for private repos