We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4dffd23 commit 34dce91Copy full SHA for 34dce91
.github/workflows/test.yml
@@ -93,17 +93,7 @@ jobs:
93
shell: bash
94
run: |
95
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
-"
+ 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')"
107
108
- name: Run tests
109
0 commit comments