Skip to content

Commit 2557702

Browse files
committed
Activate environment before building wheels
1 parent 67b2089 commit 2557702

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ jobs:
4949
- name: Prepare environment
5050
run: .github/workflows/prepare_environment.sh 3
5151
- name: Build distributions
52-
run: python setup.py sdist bdist_wheel --universal
52+
run: |
53+
. "${CONDA}/bin/activate" test-env
54+
python setup.py sdist bdist_wheel --universal
5355
- name: Publish package
5456
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
5557
uses: pypa/gh-action-pypi-publish@master

0 commit comments

Comments
 (0)