mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-04 06:44:31 +01:00
Speed up CI (#4930)
* Match requests in cassette by hash * Strip requests more extensively for VCR * Sort JSON keys on cassette save * Strip max_tokens from cassettes * Improve logging in retry decorator * Raise when quota exceeded * Clean up @retry_api * Fix @retry_api * Remove dead tests/vcr/openai_filter.py * Add debug logging to execute_python_file * Make Docker CI pass
This commit is contained in:
committed by
GitHub
parent
2b56996a27
commit
5e39dd1d26
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -148,8 +148,8 @@ jobs:
|
||||
|
||||
- name: Run pytest with coverage
|
||||
run: |
|
||||
pytest -v --cov=autogpt --cov-branch --cov-report term-missing --cov-report xml \
|
||||
--numprocesses=4 --durations=10 \
|
||||
pytest -vv --cov=autogpt --cov-branch --cov-report term-missing --cov-report xml \
|
||||
--numprocesses=logical --durations=10 \
|
||||
tests/unit tests/integration tests/challenges
|
||||
python tests/challenges/utils/build_current_score.py
|
||||
env:
|
||||
@@ -247,7 +247,7 @@ jobs:
|
||||
gh api repos/$REPO/issues/$PR_NUMBER/comments -X POST -F body="You changed AutoGPT's behaviour. The cassettes have been updated and will be merged to the submodule when this Pull Request gets merged."
|
||||
fi
|
||||
|
||||
- name: Upload logs as artifact
|
||||
- name: Upload logs to artifact
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user