File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -289,12 +289,14 @@ jobs:
289289 uses : actions/download-artifact@v3
290290 with :
291291 name : dist-${{ matrix.python-version }}
292- - name : Install testing dependencies
293- run : |
294- python -m pip install --upgrade pip setuptools wheel
295- python -m pip install --upgrade pytest pytest-cov
296- - name : Install the built wheel (there should only be one)
297- run : python -m pip install *.whl
292+ path : dist
293+ - id : find-wheel
294+ name : Get the name of the retrieved wheel (there should only be one)
295+ run : echo "wheel=$(ls dist/*whl)" >> $GITHUB_OUTPUT
296+ - name : Update core Python packages
297+ run : python -m pip install --upgrade pip setuptools wheel
298+ - name : Install the built wheel (along with testing dependencies)
299+ run : python -m pip install ${{ steps.find-wheel.outputs.wheel }}[test]
298300 - name : Run tests
299301 env :
300302 RELEASE_TAG : ${{ github.event.release.tag_name }}
You can’t perform that action at this time.
0 commit comments