Skip to content

Commit 111cd4e

Browse files
docs: refine README with additional examples and clarify troubleshooting steps
1 parent 7797010 commit 111cd4e

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
os: [ubuntu-latest, macos-latest, windows-latest]
15+
python-version: ["3.12"]
16+
fail-fast: false
17+
defaults:
18+
run:
19+
shell: bash -l {0}
20+
name: ${{ matrix.os }} py ${{ matrix.python-version }} tests
21+
22+
steps:
23+
- name: Checkout code
24+
uses: actions/checkout@v5
25+
26+
- name: Set up Miniconda
27+
uses: conda-incubator/setup-miniconda@v3
28+
with:
29+
auto-update-conda: true
30+
python-version: ${{ matrix.python-version }}
31+
activate-environment: mdfs
32+
channels: conda-forge,defaults
33+
use-mamba: true
34+
35+
- name: Install uv
36+
run: |
37+
pip install uv
38+
39+
- name: Install package and dependencies
40+
run: |
41+
uv pip install -e .[dev,test]
42+
43+
- name: Check style
44+
run: |
45+
pre-commit run --all-files
46+
47+
- name: Run pytest
48+
run: |
49+
pytest -n $(nproc || echo 1) --dist=loadscope

0 commit comments

Comments
 (0)