Skip to content

Add integration tests #5

Add integration tests

Add integration tests #5

name: AgentIntegrationTest
on: [push, pull_request]
jobs:
AgentIntegrationTest:
name: Agent Integration Test
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.8
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e erniebot-agent/
python -m pip install -r erniebot-agent/tests/requirements.txt
- name: Run the command
env:
access_token: ${{ secrets.AISTUDIO_ACCESS_TOKEN }}
run: cd erniebot-agent && python -m pytest tests/integration_tests/