File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7- pull_request :
8- branches :
9- - main
107jobs :
118 build :
129 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11name : Unit Tests
2-
2+ env :
3+ UV_SYSTEM_PYTHON : 1
34on :
45 push :
56 branches :
2627 cache-dependency-path : pyproject.toml
2728 - name : Pre-Commit
2829 uses :
pre-commit/[email protected] 30+ - name : Type Checking
31+ uses : jakebailey/pyright-action@v1
2932
3033 testcpu :
3134 name : CPU Tests
@@ -45,10 +48,10 @@ jobs:
4548 enable-cache : true
4649
4750 - name : Install dependencies
48- run : uv sync --locked -- dev
51+ run : uv sync --extra dev
4952
5053 - name : Run tests
51- run : uv run pytest --showlocals -s -vv -n=auto tests
54+ run : uv run pytest tests --showlocals -s -vv -n=auto
5255
5356 - name : Cleanup
5457 run : uv cache prune --ci
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ dev = [
2626 " pytest" ,
2727 " pytest-xdist" ,
2828 " pyright" ,
29+ " setuptools" ,
2930 " trl" ,
3031 " wandb"
3132]
You can’t perform that action at this time.
0 commit comments