File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 4242 echo "=== Installed sentience location ==="
4343 python -c "import sentience; print(sentience.__file__)"
4444 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- "
45+ 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')"
5646
5747 - name : Verify source code
5848 shell : bash
You can’t perform that action at this time.
0 commit comments