diff options
author | Reinier van der Leer <pwuts@agpt.co> | 2024-02-17 18:09:44 +0100 |
---|---|---|
committer | Reinier van der Leer <pwuts@agpt.co> | 2024-02-17 18:09:44 +0100 |
commit | 784e2bbb1c153935c33f30b15e39329a10b5c5b1 (patch) | |
tree | 73a6c6601db83aa8aafd600fe6da61ed268be4df /.github | |
parent | fix(ci/benchmark): Add `set +e` because we expect (some) challenges to fail (diff) | |
download | Auto-GPT-784e2bbb1c153935c33f30b15e39329a10b5c5b1.tar.gz Auto-GPT-784e2bbb1c153935c33f30b15e39329a10b5c5b1.tar.bz2 Auto-GPT-784e2bbb1c153935c33f30b15e39329a10b5c5b1.zip |
fix(ci/benchmark): Mitigate VCS conflicts with files in data branch
`agbenchmark` currently creates files like success_rate.json in the base REPORTS_FOLDER, which causes conflicts in the last step of the benchmark workflow.
To prevent issues, these files must be removed prior to switching to the data branch.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/autogpts-benchmark.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/autogpts-benchmark.yml b/.github/workflows/autogpts-benchmark.yml index 10efbc530..9403f4385 100644 --- a/.github/workflows/autogpts-benchmark.yml +++ b/.github/workflows/autogpts-benchmark.yml @@ -68,6 +68,9 @@ jobs: - name: Push reports to data branch run: | + # BODGE: Remove success_rate.json and regression_tests.json to avoid conflicts on checkout + rm ${{ env.REPORTS_FOLDER }}/*.json + git config --global user.name 'GitHub Actions' git config --global user.email 'github-actions@agpt.co' git fetch origin ${{ env.REPORTS_BRANCH }}:${{ env.REPORTS_BRANCH }} \ |