We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f4a898 commit 755e77fCopy full SHA for 755e77f
1 file changed
.github/workflows/test.yml
@@ -42,17 +42,7 @@ jobs:
42
echo "=== Installed sentience location ==="
43
python -c "import sentience; print(sentience.__file__)"
44
echo "=== Check assert_done in installed package ==="
45
- python -c "
46
-import inspect
47
-from sentience.agent_runtime import AgentRuntime
48
-source = inspect.getsource(AgentRuntime.assert_done)
49
-print(source)
50
-if 'assertTrue' in source:
51
- print('ERROR: assertTrue found in installed package!')
52
- exit(1)
53
-else:
54
- print('Good: assert_ is correctly used')
55
-"
+ python -c "import inspect; from sentience.agent_runtime import AgentRuntime; source = inspect.getsource(AgentRuntime.assert_done); print(source); exit(1) if 'assertTrue' in source else print('Good: assert_ is correctly used')"
56
57
- name: Verify source code
58
shell: bash
0 commit comments