Skip to content

Commit 8426c01

Browse files
committed
better smoke test
1 parent b7df2b8 commit 8426c01

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131

3232
# check that basic features work and we didn't miss to include crucial files
3333
- name: Smoke test (wheel)
34-
run: uv run --isolated --no-project --with dist/*.whl tests/unit_tests/test_client.py
34+
run: uv run --isolated --no-project --with dist/*.whl tests/smoke.py
3535

3636
- name: Smoke test (source distribution)
37-
run: uv run --isolated --no-project --with dist/*.tar.gz tests/unit_tests/test_client.py
37+
run: uv run --isolated --no-project --with dist/*.tar.gz tests/smoke.py
3838

3939
# we use Trusted publishing, no keys necessary: https://docs.astral.sh/uv/guides/integration/github/#publishing-to-pypi
4040
- name: Publish

tests/smoke.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from verda import VerdaClient
2+
3+
def main():
4+
client = VerdaClient("x", "y")
5+
assert client is not None
6+
7+
if __name__ == "__main__":
8+
main()

0 commit comments

Comments
 (0)