Skip to content

Commit 7c5fb17

Browse files
committed
chore: Add CI tests
1 parent 6427a9f commit 7c5fb17

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/unittests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test Python SDK
1+
name: Test
22

33
on:
44
pull_request:

plugin/plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
TEAM_NAME = "cloudquery"
1616
PLUGIN_KIND = "source"
1717

18+
1819
class ExamplePlugin(plugin.Plugin):
1920
def __init__(self) -> None:
2021
super().__init__(

tests/package.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from cloudquery.sdk import serve
44
from plugin import ExamplePlugin
55

6+
67
def test_plugin_package():
78
p = ExamplePlugin()
89
cmd = serve.PluginCommand(p)
@@ -50,7 +51,7 @@ def test_plugin_package():
5051
"primary_key": False,
5152
"not_null": False,
5253
"unique": False,
53-
}
54+
},
5455
],
5556
},
5657
]

0 commit comments

Comments
 (0)