Skip to content

Commit 81686ad

Browse files
authored
Build web code before CIBW when deploying to PyPI (#3014)
1 parent 4d64416 commit 81686ad

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/pypi-cd.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ jobs:
2828
- name: Check out code
2929
uses: actions/checkout@v2
3030

31+
- name: Build web for Linux
32+
if: ${{ matrix.os == 'ubuntu-latest' }}
33+
run: |
34+
git reset --hard
35+
pip install -r ci/requirements-wheel.txt
36+
python setup.py build_web
37+
3138
- name: Set up QEMU
3239
if: ${{ matrix.arch == 'aarch64' }}
3340
uses: docker/setup-qemu-action@v1
@@ -50,7 +57,7 @@ jobs:
5057
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
5158

5259
- name: Build source
53-
if: ${{ matrix.os == 'ubuntu-latest' && matrix.arch == 'auto'}}
60+
if: ${{ matrix.os == 'ubuntu-latest' && matrix.arch == 'auto' }}
5461
run: |
5562
git reset --hard
5663
pip install -r ci/requirements-wheel.txt

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ install_requires =
4848

4949
[options.packages.find]
5050
exclude =
51+
benchmarks*
5152
*.tests.*
5253
*.tests
5354

0 commit comments

Comments
 (0)