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 3030 - name : Build
3131 run : |
3232 uv pip install build
33- uv python -m build
33+ uv run python -m build
3434
3535 - name : Publish
3636 uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change @@ -10,22 +10,25 @@ jobs:
1010 codecov :
1111 runs-on : ubuntu-latest
1212
13- container :
14- image : analysiscenter1/ds-py3:3.8
15- options : --entrypoint ""
16-
1713 steps :
1814 - uses : actions/checkout@v3
1915
16+ - name : Set up Python 3.9
17+ uses : actions/setup-python@v4
18+ with :
19+ python-version : 3.9
20+
2021 - name : Generate coverage report
2122 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
2427
2528 - name : Upload coverage to Codecov
2629 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 }}
2932
3033
3134 pypi :
5053 - name : Build
5154 run : |
5255 uv pip install build
53- uv python -m build
56+ uv run python -m build
5457
5558 - name : Publish
5659 uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments