Skip to content

Commit 22bce63

Browse files
mcdonnnjjmorrowomni
authored andcommitted
Install the test dependencies of the built wheel
When installing the wheel that was built in the `build` job we will also install the `test` optional dependencies.
1 parent 0c52e46 commit 22bce63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ jobs:
295295
run: echo "wheel=$(ls dist/*whl)" >> $GITHUB_OUTPUT
296296
- name: Update core Python packages
297297
run: python -m pip install --upgrade pip setuptools wheel
298-
- name: Install the built wheel
299-
run: python -m pip install ${{ steps.find-wheel.outputs.wheel }}
298+
- name: Install the built wheel (along with testing dependencies)
299+
run: python -m pip install ${{ steps.find-wheel.outputs.wheel }}[test]
300300
- name: Run tests
301301
env:
302302
RELEASE_TAG: ${{ github.event.release.tag_name }}

0 commit comments

Comments
 (0)