File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 - completed
88
99jobs :
10- test :
10+ report :
1111 name : report coverage
1212 runs-on : ubuntu-latest
1313 if : github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
2929 - name : Post comment
3030 uses : py-cov-action/python-coverage-comment-action@v3.35
3131 with :
32- GITHUB_TOKEN : ${{ github.token }}
3332 GITHUB_PR_RUN_ID : ${{ github.event.workflow_run.id }}
Original file line number Diff line number Diff line change 77 - develop
88 pull_request :
99 branches :
10- - " *"
10+ - master
11+ - develop
1112
1213concurrency :
1314 group : tests-${{ github.head_ref || github.ref }}
@@ -118,7 +119,6 @@ jobs:
118119 id : coverage_comment
119120 uses : py-cov-action/python-coverage-comment-action@v3.35
120121 with :
121- GITHUB_TOKEN : ${{ github.token }}
122122 MERGE_COVERAGE_FILES : true
123123 ANNOTATE_MISSING_LINES : true
124124
Original file line number Diff line number Diff line change @@ -13,35 +13,28 @@ jobs:
1313 - name : Checkout code
1414 uses : actions/checkout@v4
1515
16- - name : Set up Python 3.10
16+ - name : Set up python
1717 uses : actions/setup-python@v5
1818 with :
19- python-version : " 3.10 "
19+ python-version-file : pyproject.toml
2020
21- - name : Install Poetry
22- run : |
23- curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.8.4 python - -y
24-
25- - name : Update PATH
26- run : echo "$HOME/.local/bin" >> $GITHUB_PATH
27-
28- - name : Build project for distribution
29- run : poetry build
21+ - name : Install uv
22+ uses : astral-sh/setup-uv@v6
23+ with :
24+ version : " 0.8.3"
25+ enable-cache : true
3026
31- - name : Check Version
32- id : check-version
33- run : |
34- [[ "$(poetry version --short)" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || echo prerelease=true >> $GITHUB_OUTPUT
27+ - name : Build qasync
28+ run : uv build
3529
36- - name : Create Release
30+ - name : Create release
3731 uses : ncipollo/release-action@v1
3832 with :
3933 artifacts : " dist/*"
40- token : ${{ secrets.GITHUB_TOKEN }}
41- draft : false
42- prerelease : steps.check-version.outputs.prerelease == 'true'
34+ allowUpdates : true
35+ generateReleaseNotes : true
4336
4437 - name : Publish to PyPI
4538 env :
46- POETRY_PYPI_TOKEN_PYPI : ${{ secrets.PYPI_API_TOKEN }}
47- run : poetry publish
39+ UV_PUBLISH_TOKEN : ${{ secrets.PYPI_API_TOKEN }}
40+ run : uv publish
You can’t perform that action at this time.
0 commit comments