File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,17 +22,22 @@ jobs:
2222 - name : Checkout
2323 uses : actions/checkout@v4
2424
25- - name : Install poetry
26- run : pip install poetry
25+ - name : Install uv
26+ uses : astral-sh/setup-uv@v6
2727
2828 - name : Install dependencies
29- run : poetry install
29+ run : uv sync
3030
3131 - name : Lint project
32- run : poetry run poe lint
32+ run : |
33+ pre-commit run --all-files --color always
34+ safety check --continue-on-error --full-report
3335
3436 - name : Test package
35- run : poetry run poe test
37+ run : |
38+ coverage run
39+ coverage report
40+ coverage xml
3641
3742 - name : Upload coverage
3843 uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change @@ -145,28 +145,3 @@ convention = "numpy"
145145 name = " outputdirectory"
146146 options = [" --output-directory" ]
147147 default = " docs"
148-
149- [tool .poe .tasks .lint ]
150- help = " Lint this package"
151-
152- [[tool .poe .tasks .lint .sequence ]]
153- cmd = """
154- pre-commit run
155- --all-files
156- --color always
157- """
158-
159- [[tool .poe .tasks .lint .sequence ]]
160- shell = " safety check --continue-on-error --full-report"
161-
162- [tool .poe .tasks .test ]
163- help = " Test this package"
164-
165- [[tool .poe .tasks .test .sequence ]]
166- cmd = " coverage run"
167-
168- [[tool .poe .tasks .test .sequence ]]
169- cmd = " coverage report"
170-
171- [[tool .poe .tasks .test .sequence ]]
172- cmd = " coverage xml"
You can’t perform that action at this time.
0 commit comments