File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Test
2+
3+ on : [push]
4+
5+ jobs :
6+ test :
7+ runs-on : self-hosted
8+ steps :
9+ - name : Check out repository
10+ uses : actions/checkout@v6
11+ - name : Install uv
12+ uses : astral-sh/setup-uv@v10.0.1
13+ - name : Setup environment
14+ run : make .venv
15+ - name : Run ty check
16+ run : make ty
17+ - name : Run vulture
18+ run : make vulture
19+ - name : Run tests
20+ run : |
21+ make coverage.xml
22+ uv run coverage report --format=markdown >> $GITHUB_STEP_SUMMARY
Original file line number Diff line number Diff line change 22
33all : test
44
5- test :
5+ test : .venv
66 uv run pytest -s -v -x
77
8- ty :
8+ .venv :
9+ uv sync
10+
11+ ty : .venv
912 uv run ty check
1013
11- coverage.xml :
14+ coverage.xml : .venv
1215 uv run pytest --junitxml=junit.xml --cov=tensorpack --cov-report xml:coverage.xml
1316
1417clean :
15- rm -rf coverage.xml
18+ rm -rf coverage.xml junit.xml .coverage
1619
17- vulture :
20+ vulture : .venv
1821 uv run vulture
Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ name = "tensorpack"
33version = " 0.1.2"
44description = " A collection of tensor methods from the Meyer lab."
55authors = [{ name = " Cyrillus Tan" , email = " cyztan@gmail.com" }]
6+ readme = " README.md"
67license = " MIT"
8+ license-files = [" LICENSE" ]
79requires-python = " >=3.11,<3.13"
810dependencies = [
911 " numpy>=1.21" ,
@@ -15,6 +17,10 @@ dependencies = [
1517 " scikit-learn>=1.1.2" ,
1618]
1719
20+ [project .urls ]
21+ Homepage = " https://github.com/meyer-lab/tensorpack"
22+ Repository = " https://github.com/meyer-lab/tensorpack"
23+
1824[dependency-groups ]
1925docs = [
2026 " sphinx>=7.0" ,
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments