Skip to content

Commit 3bc7e9b

Browse files
authored
Merge pull request #2763 from benjeffery/fix-32bit-CI
Remove package test from 32bit due to tricky dependancies
2 parents fd72573 + 70bc122 commit 3bc7e9b

File tree

1 file changed

+22
-18
lines changed

1 file changed

+22
-18
lines changed

.circleci/config.yml

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ commands:
1414
sudo pip install meson
1515
pip install numpy==1.18.5
1616
pip install --user -r python/requirements/CI-complete/requirements.txt
17-
ARGO_NET_GIT_FETCH_WITH_CLI=1 pip install twine --user
1817
# Remove tskit installed by msprime
1918
pip uninstall tskit -y
2019
echo 'export PATH=/home/circleci/.local/bin:$PATH' >> $BASH_ENV
@@ -151,23 +150,6 @@ commands:
151150
flags: python-c-tests
152151
token: CODECOV_TOKEN
153152

154-
- run:
155-
name: Build Python package
156-
command: |
157-
cd python
158-
rm -fR build
159-
python setup.py sdist
160-
python setup.py check
161-
python -m twine check dist/*.tar.gz
162-
python -m venv venv
163-
source venv/bin/activate
164-
pip install --upgrade setuptools pip wheel
165-
python setup.py build_ext
166-
python setup.py egg_info
167-
python setup.py bdist_wheel
168-
pip install dist/*.tar.gz
169-
tskit --help
170-
171153
jobs:
172154
build:
173155
docker:
@@ -187,6 +169,28 @@ jobs:
187169
paths:
188170
- "/home/circleci/.local"
189171
- compile_and_test
172+
- run:
173+
name: Install dependencies for wheel test
174+
command: |
175+
ARGO_NET_GIT_FETCH_WITH_CLI=1 pip install twine --user
176+
# Remove tskit installed by msprime
177+
pip uninstall tskit -y
178+
- run:
179+
name: Build Python package
180+
command: |
181+
cd python
182+
rm -fR build
183+
python setup.py sdist
184+
python setup.py check
185+
python -m twine check dist/*.tar.gz
186+
python -m venv venv
187+
source venv/bin/activate
188+
pip install --upgrade setuptools pip wheel
189+
python setup.py build_ext
190+
python setup.py egg_info
191+
python setup.py bdist_wheel
192+
pip install dist/*.tar.gz
193+
tskit --help
190194
191195
build-32:
192196
docker:

0 commit comments

Comments
 (0)