File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 2
2
#
3
3
# If this fails, it is likely that the packages require a release before we can release the `tket` python lib.
4
4
5
- name : tket-py Release checks
5
+ name : 🚚 tket-py release checks
6
6
7
7
on :
8
8
pull_request :
9
9
branches :
10
- - release-please--branches-- main--components--tket-py
10
+ - main
11
11
workflow_dispatch : {}
12
12
13
13
env :
23
23
py-release :
24
24
name : Check `tket-py` release compatibility
25
25
runs-on : ubuntu-latest
26
+ # Check if we are running on a release PR.
27
+ #
28
+ # release-please always uses this branch name.
29
+ if : ${{ github.ref == 'refs/heads/release-please--branches--main--components--tket-py' }}
26
30
steps :
27
31
- uses : actions/checkout@v4
28
32
- uses : mozilla-actions/sccache-action@v0.0.9
@@ -32,11 +36,12 @@ jobs:
32
36
version : ${{ env.UV_VERSION }}
33
37
enable-cache : true
34
38
- name : Install Python ${{ env.PYTHON_HIGHEST }}
35
- run : uv python install ${{ env.PYTHON_HIGHEST }}
39
+ run : |
40
+ uv python install ${{ env.PYTHON_HIGHEST }}
41
+ uv python pin ${{ env.PYTHON_HIGHEST }}
36
42
- name : Setup `tke2-py` with only pypi deps
37
43
run : |
38
- uv sync --no-sources --no-install-workspace \
39
- --python ${{ env.PYTHON_HIGHEST }}
44
+ uv sync --no-sources --no-install-workspace
40
45
uv pip install --no-sources tket-exts
41
46
uv pip install --no-sources tket-eccs
42
47
uv run --no-sync maturin develop
You can’t perform that action at this time.
0 commit comments