mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 14:04:27 +01:00
Remove references to legacy challenges
This commit is contained in:
19
.github/workflows/autogpt-ci.yml
vendored
19
.github/workflows/autogpt-ci.yml
vendored
@@ -6,19 +6,16 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- 'autogpts/autogpt/**'
|
- 'autogpts/autogpt/**'
|
||||||
- '!autogpts/autogpt/tests/vcr_cassettes'
|
- '!autogpts/autogpt/tests/vcr_cassettes'
|
||||||
- '!autogpts/autogpt/tests/challenges/current_score.json'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ stable, master, release-* ]
|
branches: [ stable, master, release-* ]
|
||||||
paths:
|
paths:
|
||||||
- 'autogpts/autogpt/**'
|
- 'autogpts/autogpt/**'
|
||||||
- '!autogpts/autogpt/tests/vcr_cassettes'
|
- '!autogpts/autogpt/tests/vcr_cassettes'
|
||||||
- '!autogpts/autogpt/tests/challenges/current_score.json'
|
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
branches: [ master, release-*, ci-test* ]
|
branches: [ master, release-*, ci-test* ]
|
||||||
paths:
|
paths:
|
||||||
- 'autogpts/autogpt/**'
|
- 'autogpts/autogpt/**'
|
||||||
- '!autogpts/autogpt/tests/vcr_cassettes'
|
- '!autogpts/autogpt/tests/vcr_cassettes'
|
||||||
- '!autogpts/autogpt/tests/challenges/current_score.json'
|
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ format('autogpt-ci-{0}', github.head_ref && format('{0}-{1}', github.event_name, github.event.pull_request.number) || github.sha) }}
|
group: ${{ format('autogpt-ci-{0}', github.head_ref && format('{0}-{1}', github.event_name, github.event.pull_request.number) || github.sha) }}
|
||||||
@@ -169,8 +166,7 @@ jobs:
|
|||||||
poetry run pytest -vv \
|
poetry run pytest -vv \
|
||||||
--cov=autogpt --cov-branch --cov-report term-missing --cov-report xml \
|
--cov=autogpt --cov-branch --cov-report term-missing --cov-report xml \
|
||||||
--numprocesses=logical --durations=10 \
|
--numprocesses=logical --durations=10 \
|
||||||
tests/unit tests/integration tests/challenges
|
tests/unit tests/integration
|
||||||
poetry run python tests/challenges/utils/build_current_score.py
|
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
PROXY: ${{ github.event_name == 'pull_request_target' && secrets.PROXY || '' }}
|
PROXY: ${{ github.event_name == 'pull_request_target' && secrets.PROXY || '' }}
|
||||||
@@ -199,19 +195,6 @@ jobs:
|
|||||||
|
|
||||||
echo "config_key=$config_key" >> $GITHUB_OUTPUT
|
echo "config_key=$config_key" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Push updated challenge scores
|
|
||||||
if: github.event_name == 'push'
|
|
||||||
run: |
|
|
||||||
score_file="tests/challenges/current_score.json"
|
|
||||||
|
|
||||||
if ! git diff --quiet $score_file; then
|
|
||||||
git add $score_file
|
|
||||||
git commit -m "Update challenge scores"
|
|
||||||
git push origin HEAD:${{ github.ref_name }}
|
|
||||||
else
|
|
||||||
echo "The challenge scores didn't change."
|
|
||||||
fi
|
|
||||||
|
|
||||||
- id: push_cassettes
|
- id: push_cassettes
|
||||||
name: Push updated cassettes
|
name: Push updated cassettes
|
||||||
# For pull requests, push updated cassettes even when tests fail
|
# For pull requests, push updated cassettes even when tests fail
|
||||||
|
|||||||
2
.github/workflows/autogpt-docker-ci.yml
vendored
2
.github/workflows/autogpt-docker-ci.yml
vendored
@@ -6,13 +6,11 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- 'autogpts/autogpt/**'
|
- 'autogpts/autogpt/**'
|
||||||
- '!autogpts/autogpt/tests/vcr_cassettes'
|
- '!autogpts/autogpt/tests/vcr_cassettes'
|
||||||
- '!autogpts/autogpt/tests/challenges/current_score.json'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master, release-*, stable ]
|
branches: [ master, release-*, stable ]
|
||||||
paths:
|
paths:
|
||||||
- 'autogpts/autogpt/**'
|
- 'autogpts/autogpt/**'
|
||||||
- '!autogpts/autogpt/tests/vcr_cassettes'
|
- '!autogpts/autogpt/tests/vcr_cassettes'
|
||||||
- '!autogpts/autogpt/tests/challenges/current_score.json'
|
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ format('autogpt-docker-ci-{0}', github.head_ref && format('pr-{0}', github.event.pull_request.number) || github.sha) }}
|
group: ${{ format('autogpt-docker-ci-{0}', github.head_ref && format('pr-{0}', github.event.pull_request.number) || github.sha) }}
|
||||||
|
|||||||
1
.github/workflows/pr-label.yml
vendored
1
.github/workflows/pr-label.yml
vendored
@@ -6,7 +6,6 @@ on:
|
|||||||
branches: [ master, release-* ]
|
branches: [ master, release-* ]
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'autogpts/autogpt/tests/vcr_cassettes'
|
- 'autogpts/autogpt/tests/vcr_cassettes'
|
||||||
- 'autogpts/autogpt/tests/challenges/current_score.json'
|
|
||||||
- 'benchmark/reports/**'
|
- 'benchmark/reports/**'
|
||||||
# So that the `dirtyLabel` is removed if conflicts are resolve
|
# So that the `dirtyLabel` is removed if conflicts are resolve
|
||||||
# We recommend `pull_request_target` so that github secrets are available.
|
# We recommend `pull_request_target` so that github secrets are available.
|
||||||
|
|||||||
Reference in New Issue
Block a user