diff options
author | Reinier van der Leer <pwuts@agpt.co> | 2024-02-17 11:52:26 +0100 |
---|---|---|
committer | Reinier van der Leer <pwuts@agpt.co> | 2024-02-17 11:52:26 +0100 |
commit | 880c8e804c70f81a8226da011fc64afb3b1960d2 (patch) | |
tree | 917cca2b53f5acd84a058af37f8413147c4bfe43 /.github | |
parent | chore: Update agbenchmark dependency for agent and forge (diff) | |
download | Auto-GPT-880c8e804c70f81a8226da011fc64afb3b1960d2.tar.gz Auto-GPT-880c8e804c70f81a8226da011fc64afb3b1960d2.tar.bz2 Auto-GPT-880c8e804c70f81a8226da011fc64afb3b1960d2.zip |
fix(ci/benchmark): Allow workflow to continue regardless of challenge outcomes
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/autogpts-benchmark.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/autogpts-benchmark.yml b/.github/workflows/autogpts-benchmark.yml index 6c4d7461c..5607246a5 100644 --- a/.github/workflows/autogpts-benchmark.yml +++ b/.github/workflows/autogpts-benchmark.yml @@ -52,6 +52,13 @@ jobs: --test=UrlShortener --test=TicTacToe --test=Battleship \ --test=WebArenaTask_0 --test=WebArenaTask_21 --test=WebArenaTask_124 \ --test=WebArenaTask_134 --test=WebArenaTask_163 + + # Convert exit code 1 (some challenges failed) to exit code 0 + if [ $? -eq 0 ] || [ $? -eq 1 ]; then + exit 0 + else + exit $? + fi env: AGENT_NAME: ${{ matrix.agent-name }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} |