diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index d66420f..165b946 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -31,6 +31,10 @@ jobs: - name: Run pytest run: pytest + - name: Failure log + if: failure() + run: echo "1つ前のステップは失敗しました!" + - name: Print secrets run: echo "TEST_API_KEY -> ${{secrets.TEST_API_KEY}}" diff --git a/langchain-crash-course/5_agents_tools/tests/test_agent_tools_basic.py b/langchain-crash-course/5_agents_tools/tests/test_agent_tools_basic.py index 2d2dd34..22d9583 100644 --- a/langchain-crash-course/5_agents_tools/tests/test_agent_tools_basic.py +++ b/langchain-crash-course/5_agents_tools/tests/test_agent_tools_basic.py @@ -72,6 +72,9 @@ def test_tools_list_contains_current_time(agent_module): # Find tool by name names = [tool.name for tool in tools] assert "Current Time" in names, f"Tool 'Current Time' not found in {names}" + # assert "Current" in names, ( + # f"Tool 'Current Time' not found in {names}" + # ) # pytest fails can also confirm on Github Actions def test_module_import_with_missing_llm(monkeypatch):