Skip to content

Commit e9b8e79

Browse files
authored
[BACKPORT] Build web code before CIBW when deploying to PyPI (#3014) (#3015)
1 parent e550ae4 commit e9b8e79

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/pypi-cd.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ jobs:
2323
- name: Check out code
2424
uses: actions/checkout@v2
2525

26+
- name: Build web for Linux
27+
if: ${{ matrix.os == 'ubuntu-latest' }}
28+
run: |
29+
git reset --hard
30+
pip install -r ci/requirements-wheel.txt
31+
python setup.py build_web
32+
2633
- name: Build wheels
2734
uses: pypa/[email protected]
2835
env:
@@ -32,7 +39,7 @@ jobs:
3239
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
3340

3441
- name: Build source
35-
if: ${{ matrix.os == 'ubuntu-latest' && matrix.arch == 'auto'}}
42+
if: ${{ matrix.os == 'ubuntu-latest' && matrix.arch == 'auto' }}
3643
run: |
3744
git reset --hard
3845
pip install -r ci/requirements-wheel.txt

setup.cfg

+1
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)