File tree Expand file tree Collapse file tree 2 files changed +13
-10
lines changed Expand file tree Collapse file tree 2 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 30
30
- name : Build
31
31
run : |
32
32
uv pip install build
33
- uv python -m build
33
+ uv run python -m build
34
34
35
35
- name : Publish
36
36
uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change @@ -10,22 +10,25 @@ jobs:
10
10
codecov :
11
11
runs-on : ubuntu-latest
12
12
13
- container :
14
- image : analysiscenter1/ds-py3:3.8
15
- options : --entrypoint ""
16
-
17
13
steps :
18
14
- uses : actions/checkout@v3
19
15
16
+ - name : Set up Python 3.9
17
+ uses : actions/setup-python@v4
18
+ with :
19
+ python-version : 3.9
20
+
20
21
- name : Generate coverage report
21
22
run : |
22
- pip3 install -U pytest-cov
23
- pytest -m "not slow" --cov=./ --cov-report=xml
23
+ pip install uv
24
+ uv sync --all-extras
25
+ uv pip install -U pytest-cov
26
+ uv run pytest -m "not slow" --cov=./ --cov-report=xml
24
27
25
28
- name : Upload coverage to Codecov
26
29
run : |
27
- pip3 install -U codecov
28
- codecov -t ${{ secrets.CODECOV_TOKEN }}
30
+ uv pip install -U codecov
31
+ uv run codecov -t ${{ secrets.CODECOV_TOKEN }}
29
32
30
33
31
34
pypi :
50
53
- name : Build
51
54
run : |
52
55
uv pip install build
53
- uv python -m build
56
+ uv run python -m build
54
57
55
58
- name : Publish
56
59
uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments