Skip to content

Commit 11f5dc7

Browse files
authored
Merge branch 'main' into dependabot/uv/ipykernel-7.3.0
2 parents b89875a + 4066814 commit 11f5dc7

3 files changed

Lines changed: 16 additions & 11 deletions

File tree

‎.github/workflows/deploy.yml‎

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ on:
1919
types:
2020
- opened
2121
- reopened
22-
- synchronize # when new commits are pushed to the PR
23-
- ready_for_review # when the PR is un-drafted
22+
- synchronize
23+
- ready_for_review
2424

2525
concurrency:
2626
group: ${{ github.workflow }}-${{ github.ref }}
@@ -39,11 +39,15 @@ jobs:
3939
with:
4040
fetch-depth: 0 # such that setuptools_scm can do its job correctly
4141

42+
- name: Install the latest version of uv
43+
uses: astral-sh/setup-uv@v7
44+
with:
45+
enable-cache: true
46+
4247
- name: Build SDist and Wheel
4348
run: |
44-
pipx install uv
45-
46-
pipx run build --verbose --sdist --wheel --installer=uv
49+
# the `build` package's console script is `pyproject-build`, not `build`
50+
uvx --from build pyproject-build --verbose --sdist --wheel --installer=uv
4751
4852
- uses: actions/upload-artifact@v7
4953
with:

‎.github/workflows/test.yml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,11 @@ jobs:
192192
name: "Publish Tests Results"
193193
needs: test
194194
runs-on: ubuntu-latest
195+
196+
# exposed at job level so the scan step can test for its presence in `if`
197+
env:
198+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
199+
195200
permissions:
196201
checks: write
197202

@@ -218,10 +223,11 @@ jobs:
218223
merge-multiple: true
219224

220225
- name: SonarQube Scan
226+
# forks and unconfigured checkouts have no token; skip rather than fail
227+
if: ${{ env.SONAR_TOKEN != '' }}
221228
uses: SonarSource/sonarqube-scan-action@v8
222229
env:
223230
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
224-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
225231

226232
- name: Publish Test Results
227233
uses: EnricoMi/publish-unit-test-result-action@v2

‎CLA.md‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
# Contributor License Agreement
22

3-
> **Status: draft — must be reviewed and approved by Algorithmiq's legal
4-
> counsel before the repository is made public.** The text below follows the
5-
> structure of the Apache Software Foundation Individual CLA v2.2 and is
6-
> provided as a starting point, not as legal advice.
7-
83
Thank you for your interest in contributing to `src_method` ("the Project"),
94
maintained by Algorithmiq Ltd. ("Algorithmiq"). This Contributor License
105
Agreement ("Agreement") documents the rights granted by contributors to

0 commit comments

Comments
 (0)