Skip to content

Commit c65e578

Browse files
committed
CI: more testing for the wheels
1 parent e119d61 commit c65e578

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/publish-pypi.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,18 @@ jobs:
3535
- name: Install produced wheel
3636
run: pip install dist/*.whl
3737

38-
- name: Test module is importable using the installed wheel
39-
# If more than one module in src/ replace with module name to test
38+
- name: Test module is importable using the installed wheel - 1
4039
run: python -c "import save_and_restore_api"
4140

41+
- name: Test module is importable using the installed wheel - 2
42+
run: python -c "from save_and_restore_api import SaveRestoreAPI"
43+
44+
- name: Test module is importable using the installed wheel - 3
45+
run: python -c "from save_and_restore_api.aio import SaveRestoreAPI"
46+
47+
- name: Test module is importable using the installed wheel - 4
48+
run: save-and-restore-api -h
49+
4250

4351
#- name: Publish to PyPI using trusted publishing
4452
# uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)