add decorator to tests

Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
This commit is contained in:
Merwane Hamadi
2023-04-22 12:39:56 -07:00
committed by Reinier van der Leer
parent 996a3b331a
commit eb5a8a87d8
5 changed files with 26 additions and 38 deletions

View File

@@ -72,7 +72,9 @@ jobs:
- name: Run unittest tests with coverage
run: |
pytest --cov=autogpt --without-integration --without-slow-integration --cov-report term-missing --cov-branch --cov-report xml --cov-report term
pytest --cov=autogpt tests/integration/goal_oriented --cov-report term-missing --cov-branch --cov-report xml --cov-report term
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
- name: Generate coverage report
run: |
coverage report