Skip to content

Commit 2ac7460

Browse files
authored
Merge pull request #137 from python-project-templates/tkp/jsup2
Bump esbuild
2 parents 1aa57be + d00d517 commit 2ac7460

File tree

7 files changed

+96
-0
lines changed

7 files changed

+96
-0
lines changed

cpp/.github/workflows/build.yaml.jinja

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

139+
- name: Test wheel install
140+
run: |
141+
python -m venv /tmp/test-wheel
142+
/tmp/test-wheel/bin/pip install dist/*.whl
143+
/tmp/test-wheel/bin/python -c "import {{module}}"
144+
if: matrix.os == 'ubuntu-latest'
145+
146+
- name: Test sdist install
147+
run: |
148+
python -m venv /tmp/test-sdist
149+
/tmp/test-sdist/bin/pip install dist/*.tar.gz
150+
/tmp/test-sdist/bin/python -c "import {{module}}"
151+
if: matrix.os == 'ubuntu-latest'
152+
139153
- uses: actions/upload-artifact@v7
140154
with:
141155
name: {% raw %}dist-${{matrix.os}}-${{matrix.python-version}}{% endraw %}

cppjswasm/.github/workflows/build.yaml.jinja

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 {{module}}"
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 {{module}}"
133+
if: matrix.os == 'ubuntu-latest'
134+
121135
- uses: actions/upload-artifact@v7
122136
with:
123137
name: {% raw %}dist-${{matrix.os}}-${{matrix.python-version}}{% endraw %}

js/.github/workflows/build.yaml.jinja

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,20 @@ jobs:
8484
run: make dist
8585
if: matrix.os == 'ubuntu-latest'
8686

87+
- name: Test wheel install
88+
run: |
89+
python -m venv /tmp/test-wheel
90+
/tmp/test-wheel/bin/pip install dist/*.whl
91+
/tmp/test-wheel/bin/python -c "import {{module}}"
92+
if: matrix.os == 'ubuntu-latest'
93+
94+
- name: Test sdist install
95+
run: |
96+
python -m venv /tmp/test-sdist
97+
/tmp/test-sdist/bin/pip install dist/*.tar.gz
98+
/tmp/test-sdist/bin/python -c "import {{module}}"
99+
if: matrix.os == 'ubuntu-latest'
100+
87101
- uses: actions/upload-artifact@v7
88102
with:
89103
name: {% raw %}dist-${{matrix.os}}{% endraw %}

jupyter/.github/workflows/build.yaml.jinja

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,20 @@ jobs:
8484
run: make dist
8585
if: matrix.os == 'ubuntu-latest'
8686

87+
- name: Test wheel install
88+
run: |
89+
python -m venv /tmp/test-wheel
90+
/tmp/test-wheel/bin/pip install dist/*.whl
91+
/tmp/test-wheel/bin/python -c "import {{module}}"
92+
if: matrix.os == 'ubuntu-latest'
93+
94+
- name: Test sdist install
95+
run: |
96+
python -m venv /tmp/test-sdist
97+
/tmp/test-sdist/bin/pip install dist/*.tar.gz
98+
/tmp/test-sdist/bin/python -c "import {{module}}"
99+
if: matrix.os == 'ubuntu-latest'
100+
87101
- uses: actions/upload-artifact@v7
88102
with:
89103
name: {% raw %}dist-${{matrix.os}}{% endraw %}

python/.github/workflows/build.yaml.jinja

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,18 @@ jobs:
7474
- name: Make dist
7575
run: make dist
7676

77+
- name: Test wheel install
78+
run: |
79+
python -m venv /tmp/test-wheel
80+
/tmp/test-wheel/bin/pip install dist/*.whl
81+
/tmp/test-wheel/bin/python -c "import {{module}}"
82+
83+
- name: Test sdist install
84+
run: |
85+
python -m venv /tmp/test-sdist
86+
/tmp/test-sdist/bin/pip install dist/*.tar.gz
87+
/tmp/test-sdist/bin/python -c "import {{module}}"
88+
7789
- uses: actions/upload-artifact@v7
7890
with:
7991
name: {% raw %}dist-${{matrix.os}}{% endraw %}

rust/.github/workflows/build.yaml.jinja

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,20 @@ jobs:
9797
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=11.0
9898
if: matrix.os != 'ubuntu-latest'
9999

100+
- name: Test wheel install
101+
run: |
102+
python -m venv /tmp/test-wheel
103+
/tmp/test-wheel/bin/pip install dist/*.whl
104+
/tmp/test-wheel/bin/python -c "import {{module}}"
105+
if: matrix.os == 'ubuntu-latest'
106+
107+
- name: Test sdist install
108+
run: |
109+
python -m venv /tmp/test-sdist
110+
/tmp/test-sdist/bin/pip install dist/*.tar.gz
111+
/tmp/test-sdist/bin/python -c "import {{module}}"
112+
if: matrix.os == 'ubuntu-latest'
113+
100114
- uses: actions/upload-artifact@v7
101115
with:
102116
name: {% raw %}dist-${{matrix.os}}{% endraw %}

rustjswasm/.github/workflows/build.yaml.jinja

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,20 @@ jobs:
106106
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=11.0
107107
if: matrix.os != 'ubuntu-latest'
108108

109+
- name: Test wheel install
110+
run: |
111+
python -m venv /tmp/test-wheel
112+
/tmp/test-wheel/bin/pip install dist/*.whl
113+
/tmp/test-wheel/bin/python -c "import {{module}}"
114+
if: matrix.os == 'ubuntu-latest'
115+
116+
- name: Test sdist install
117+
run: |
118+
python -m venv /tmp/test-sdist
119+
/tmp/test-sdist/bin/pip install dist/*.tar.gz
120+
/tmp/test-sdist/bin/python -c "import {{module}}"
121+
if: matrix.os == 'ubuntu-latest'
122+
109123
- uses: actions/upload-artifact@v7
110124
with:
111125
name: {% raw %}dist-${{matrix.os}}{% endraw %}

0 commit comments

Comments
 (0)