Skip to content

Commit 34dce91

Browse files
author
SentienceDEV
committed
fix tests
1 parent 4dffd23 commit 34dce91

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -93,17 +93,7 @@ jobs:
9393
shell: bash
9494
run: |
9595
echo "=== Final check before tests ==="
96-
python -c "
97-
from sentience.agent_runtime import AgentRuntime
98-
import inspect
99-
source = inspect.getsource(AgentRuntime.assert_done)
100-
print('assert_done source:')
101-
print(source)
102-
if 'assertTrue' in source:
103-
print('ERROR: assertTrue found in assert_done!')
104-
exit(1)
105-
print('OK: assert_ is used correctly')
106-
"
96+
python -c "from sentience.agent_runtime import AgentRuntime; import inspect; source = inspect.getsource(AgentRuntime.assert_done); print('assert_done source:'); print(source); exit(1) if 'assertTrue' in source else print('OK: assert_ is used correctly')"
10797
10898
- name: Run tests
10999
run: |

0 commit comments

Comments
 (0)