Add CI smoke test (#2461)

This commit is contained in:
Merwane Hamadi
2023-04-23 00:17:26 +02:00
committed by Reinier van der Leer
parent 5a95ead608
commit 996a3b331a
8 changed files with 825 additions and 59 deletions

View File

@@ -0,0 +1,37 @@
name: Goal Oriented Tasks
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Generate coverage report
run: |
coverage run --source=autogpt -m pytest -s -k tests/integration/goal_oriented
env:
OPENAI_API_KEY: 'dummy_api_key'