Merge branch 'agentscope-ai:main' into feature/evotraders_v1 #22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Conversational Agents Chatbot Test | |
| on: [push] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.10'] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| # ✅ Use correct relative path | |
| cd conversational_agents/chatbot | |
| python -m pip install --upgrade pip | |
| pip install pytest pytest-asyncio | |
| pip install -r requirements.txt | |
| - name: Run tests | |
| env: | |
| PYTHONPATH: ${{ github.workspace }}/conversational_agents/chatbot | |
| DASHSCOPE_API_KEY: ${{ secrets.DASHSCOPE_API_KEY }} | |
| run: | | |
| # ✅ Use correct relative path | |
| python -m pytest tests/conversational_agents_chatbot_test.py -v |