Spaces:
Running
Running
Run lynxkite_lynxscribe tests.
Browse files
.github/workflows/test.yaml
CHANGED
@@ -56,6 +56,11 @@ jobs:
|
|
56 |
cd lynxkite-graph-analytics
|
57 |
pytest
|
58 |
|
|
|
|
|
|
|
|
|
|
|
59 |
- name: Try building the documentation
|
60 |
run: |
|
61 |
uv pip install mkdocs-material mkdocstrings[python]
|
|
|
56 |
cd lynxkite-graph-analytics
|
57 |
pytest
|
58 |
|
59 |
+
- name: Run LynxScribe tests
|
60 |
+
run: |
|
61 |
+
cd lynxkite-lynxscribe
|
62 |
+
pytest
|
63 |
+
|
64 |
- name: Try building the documentation
|
65 |
run: |
|
66 |
uv pip install mkdocs-material mkdocstrings[python]
|
lynxkite-core/src/lynxkite/core/executors/one_by_one.py
CHANGED
@@ -146,7 +146,6 @@ async def execute(ws: workspace.Workspace, catalog, cache=None):
|
|
146 |
cache[key] = output
|
147 |
output = cache[key]
|
148 |
else:
|
149 |
-
op.publish_started()
|
150 |
result = op(*inputs, **params)
|
151 |
output = await await_if_needed(result.output)
|
152 |
except Exception as e:
|
@@ -173,6 +172,6 @@ async def execute(ws: workspace.Workspace, catalog, cache=None):
|
|
173 |
).extend(results)
|
174 |
else:
|
175 |
tasks.setdefault(edge.target, []).extend(results)
|
176 |
-
|
177 |
tasks = next_stage
|
178 |
return contexts
|
|
|
146 |
cache[key] = output
|
147 |
output = cache[key]
|
148 |
else:
|
|
|
149 |
result = op(*inputs, **params)
|
150 |
output = await await_if_needed(result.output)
|
151 |
except Exception as e:
|
|
|
172 |
).extend(results)
|
173 |
else:
|
174 |
tasks.setdefault(edge.target, []).extend(results)
|
175 |
+
node.publish_result(result)
|
176 |
tasks = next_stage
|
177 |
return contexts
|
lynxkite-lynxscribe/tests/test_llm_ops.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import unittest
|
2 |
-
from
|
3 |
from lynxkite.core.executors import one_by_one
|
4 |
from lynxkite.core import ops, workspace
|
5 |
|
|
|
1 |
import unittest
|
2 |
+
from lynxkite_lynxscribe import llm_ops # noqa: F401
|
3 |
from lynxkite.core.executors import one_by_one
|
4 |
from lynxkite.core import ops, workspace
|
5 |
|