-
Notifications
You must be signed in to change notification settings - Fork 1
29 lines (27 loc) · 775 Bytes
/
ci.yml
File metadata and controls
29 lines (27 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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