Skip to content

Commit 2393693

Browse files
committed
Update test.yml
1 parent 6d25d2e commit 2393693

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,18 @@ jobs:
2828
python -m pip install --upgrade pip
2929
pip install -e .
3030
31-
- name: Test CLI
32-
run: |
33-
hixbe-time --help
34-
hixbe-time --json
31+
- name: Test CLI help
32+
run: hixbe-time --help
33+
34+
- name: Test CLI query
35+
run: hixbe-time --json
36+
continue-on-error: true
3537

3638
- name: Test import
37-
run: python -c "from hixbe_time import NTPClient; client = NTPClient(); print('Import successful')"
39+
run: python -c "from hixbe_time import NTPClient, NTPClientConfig; print('✅ Import successful')"
40+
41+
- name: Test instantiation
42+
run: python -c "from hixbe_time import NTPClient, NTPClientConfig; client = NTPClient(); print('✅ Client instantiation successful')"
3843

3944
- name: Run showcase
4045
run: python SHOWCASE.py

0 commit comments

Comments
 (0)