Skip to content

Commit fbf5e47

Browse files
samediiJim-Holmstroem
authored andcommitted
build: simple find wheel
1 parent f58e13e commit fbf5e47

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,22 @@ jobs:
3535
run: |
3636
pytest
3737
38-
- name: Build package
38+
- name: Test install package
3939
env:
4040
PYTHON_VERSION: ${{ matrix.python-version }}
4141
run: |
4242
python setup.py bdist_wheel --python-tag py${PYTHON_VERSION//.}
4343
4444
- name: Test install package
4545
run: |
46-
mkdir test_install
47-
cd test_install
48-
4946
pip install virtualenv
5047
virtualenv installable
5148
source installable/bin/activate
5249
53-
pip install $(find ${GITHUB_WORKSPACE}/dist -iname "*.whl")
50+
pip install dist/$(ls dist)
51+
52+
mkdir test_install
53+
cd test_install
5454
python -c "import datastream"
5555
5656
- name: PyPi Publish

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ jobs:
4949
5050
- name: Test install package
5151
run: |
52-
mkdir test_install
53-
cd test_install
54-
5552
pip install virtualenv
5653
virtualenv installable
5754
source installable/bin/activate
5855
59-
pip install $(find ${GITHUB_WORKSPACE}/dist -iname "*.whl")
56+
pip install dist/$(ls dist)
57+
58+
mkdir test_install
59+
cd test_install
6060
python -c "import datastream"

0 commit comments

Comments
 (0)