Skip to content

Add integration tests #1

Add integration tests

Add integration tests #1

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
with:
AISTUDIO_ACCESS_TOKEN: ${{ secrets.AISTUDIO_ACCESS_TOKEN }}
run: cd erniebot-agent && python -m pytest tests/integration_tests/

Check failure on line 23 in .github/workflows/agent_integration_test.yaml

View workflow run for this annotation

GitHub Actions / AgentIntegrationTest

Invalid workflow file

The workflow is not valid. .github/workflows/agent_integration_test.yaml (Line: 23, Col: 9): Unexpected value 'run' .github/workflows/agent_integration_test.yaml (Line: 20, Col: 9): Required property is missing: uses