Skip to content

Commit f6fab1e

Browse files
committed
✅ add basic module test
1 parent b1e2e2b commit f6fab1e

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/cdci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
python -m pip install --upgrade pip
2929
pip install pytest
3030
pip install -e .
31-
# - name: Run tests
32-
# run: python -m pytest tests
31+
- name: Run tests
32+
run: python -m pytest tests
3333

tests/test_module_imports.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
def test_imports():
3+
import vuegen
4+
import vuegen.main
5+
import vuegen.quarto_reportview
6+
import vuegen.report
7+
import vuegen.report_generator
8+
import vuegen.streamlit_reportview
9+
import vuegen.utils
10+
11+
assert vuegen.__version__
12+

0 commit comments

Comments
 (0)