Skip to content

Merge pull request #2 from carp-dk/main-refc #4

Merge pull request #2 from carp-dk/main-refc

Merge pull request #2 from carp-dk/main-refc #4

Workflow file for this run

name: ci
on:
push:
branches:
- "**"
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .
python -m pip install pytest pytest-cov mypy ruff sphinx sphinx-rtd-theme pandas pyarrow folium matplotlib
- name: Lint
run: ruff check src examples tests docs
- name: Type check
run: mypy src/carp
- name: Test
run: pytest --cov=src/carp --cov-branch --cov-fail-under=100
- name: Build docs
run: sphinx-build -b html docs docs/_build/html