Skip to content

Commit 861d19d

Browse files
Update from copier (2026-04-11T16:34:32)
Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 31116b0 commit 861d19d

File tree

4 files changed

+47
-10
lines changed

4 files changed

+47
-10
lines changed

.copier-answers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: 9498b78
2+
_commit: 6ce048e
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: true
55
add_extension: cppjswasm

.github/workflows/build.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,20 @@ jobs:
118118
CIBW_BEFORE_ALL: call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
119119
if: matrix.os == 'windows-latest'
120120

121+
- name: Test wheel install
122+
run: |
123+
python -m venv /tmp/test-wheel
124+
/tmp/test-wheel/bin/pip install dist/*.whl
125+
/tmp/test-wheel/bin/python -c "import python_template_cppjswasm"
126+
if: matrix.os == 'ubuntu-latest'
127+
128+
- name: Test sdist install
129+
run: |
130+
python -m venv /tmp/test-sdist
131+
/tmp/test-sdist/bin/pip install dist/*.tar.gz
132+
/tmp/test-sdist/bin/python -c "import python_template_cppjswasm"
133+
if: matrix.os == 'ubuntu-latest'
134+
121135
- uses: actions/upload-artifact@v7
122136
with:
123137
name: dist-${{matrix.os}}-${{matrix.python-version}}

.github/workflows/docs.yaml

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,47 @@
11
name: Publish Docs
22

33
on:
4-
push:
5-
branches:
6-
- main
4+
workflow_run:
5+
workflows: ["Build Status"]
6+
branches: [main]
7+
types: [completed]
78
workflow_dispatch:
9+
810
permissions:
11+
actions: read
912
contents: write
13+
1014
jobs:
1115
docs:
1216
runs-on: ubuntu-latest
17+
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
1318
steps:
1419
- uses: actions/checkout@v6
1520
- uses: actions-ext/python/setup@main
16-
- uses: actions-ext/node/setup@main
17-
- uses: mymindstorm/setup-emsdk@v16
18-
- run: make develop
19-
- run: uv pip install .
20-
- run: uv pip install yardang
21+
22+
- name: Download dist from build
23+
uses: actions/download-artifact@v7
24+
with:
25+
name: dist-ubuntu-latest-3.11
26+
path: dist
27+
run-id: ${{ github.event.workflow_run.id }}
28+
if: github.event_name == 'workflow_run'
29+
30+
- name: Install from wheel
31+
run: |
32+
uv pip install dist/*.whl
33+
uv pip install yardang
34+
if: github.event_name == 'workflow_run'
35+
36+
- name: Install from source (manual trigger)
37+
run: |
38+
make develop
39+
uv pip install .
40+
uv pip install yardang
41+
if: github.event_name == 'workflow_dispatch'
42+
2143
- run: yardang build
44+
2245
- uses: peaceiris/actions-gh-pages@v4
2346
with:
2447
publish_branch: gh-pages

js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"devDependencies": {
5151
"@playwright/test": "^1.59.1",
5252
"cpy": "^13.2.1",
53-
"esbuild": "^0.27.3",
53+
"esbuild": "^0.27.4",
5454
"lightningcss": "^1.29.3",
5555
"http-server": "^14.1.1",
5656
"nodemon": "^3.1.10",

0 commit comments

Comments
 (0)