Skip to content

test: add CI test coverage for core workflows #1

test: add CI test coverage for core workflows

test: add CI test coverage for core workflows #1

Workflow file for this run

name: Test
on:
push:
pull_request:
permissions:
contents: read
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Lint
run: uv run --locked --group dev ruff check src tests
- name: Check formatting
run: uv run --locked --group dev ruff format --check src tests
- name: Run tests
run: uv run --locked --group dev pytest tests/ -W error --cov=argus --cov-report=term-missing --cov-report=xml
- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage.xml