Skip to content

Commit e119d61

Browse files
committed
CI: try different way to install and test the package
1 parent 5a3d315 commit e119d61

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/publish-pypi.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,11 @@ jobs:
3333
run: pipx run twine check --strict dist/*
3434

3535
- name: Install produced wheel
36-
uses: ./.github/actions/install_requirements
37-
with:
38-
pip-install: dist/*.whl
36+
run: pip install dist/*.whl
3937

4038
- name: Test module is importable using the installed wheel
4139
# If more than one module in src/ replace with module name to test
42-
run: python -c "import $(ls --hide='*.egg-info' src | head -1)"
40+
run: python -c "import save_and_restore_api"
4341

4442

4543
#- name: Publish to PyPI using trusted publishing

0 commit comments

Comments
 (0)