Skip to content

Commit 87d8bfe

Browse files
committed
install in build job
1 parent 3bac60c commit 87d8bfe

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@ jobs:
4949
twine check dist/*
5050
pip install dist/*.whl
5151
52+
- name: Run Test
53+
run: |
54+
# cleanup (interferes with tests)
55+
rm -rf bazel-*
56+
# run tests
57+
pytest -vv
58+
59+
- name: Debugging with tmate
60+
if: failure()
61+
uses: mxschmitt/action-tmate@v3.18
62+
5263
upload_to_pypi:
5364
name: Upload to PyPI
5465
runs-on: ubuntu-latest
@@ -74,14 +85,3 @@ jobs:
7485
uses: pypa/gh-action-pypi-publish@release/v1.9
7586
with:
7687
packages_dir: wheels/
77-
78-
- name: Run Test
79-
run: |
80-
# cleanup (interferes with tests)
81-
rm -rf bazel-*
82-
# run tests
83-
pytest -vv
84-
85-
- name: Debugging with tmate
86-
if: failure()
87-
uses: mxschmitt/action-tmate@v3.18

0 commit comments

Comments
 (0)