We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c60d18b commit 6e7efe7Copy full SHA for 6e7efe7
.github/workflows/build.yml
@@ -33,9 +33,9 @@ jobs:
33
run: |
34
make check-codestyle
35
36
-# - name: Run tests
37
-# run: |
38
-# make test
+ - name: Run tests
+ run: |
+ make test
39
40
# - name: Run safety checks
41
# run: |
tests/test_import.py
@@ -0,0 +1,13 @@
1
+import importlib
2
+import pkgutil
3
+
4
+import pytest
5
6
7
+def test_imports():
8
+ try:
9
+ package = importlib.import_module('parea')
10
+ for _, module_name, _ in pkgutil.iter_modules(package.__path__):
11
+ importlib.import_module(f'parea.{module_name}')
12
+ except ImportError:
13
+ pytest.fail("Import failed", pytrace=False)
0 commit comments