Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
espzav committed Jan 30, 2025
1 parent 647abe2 commit 23f9d86
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-run-applications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,3 +247,10 @@ jobs:
with:
comment-tag: benchmark_results
file-path: ${{ env.output_file }}
- name: Commit test results
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "🔄 Benchmark results"
git push origin HEAD:${{ github.head_ref }}
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ def write_json_file(board, data):
file_path = f"{repo_root}/bsp/{board}/benchmark.json"
try:
os.remove(file_path)
with open(file_path, "a") as file:
file.write(data)
except OSError:
pass
with open(file_path, "a") as file:
file.write(data)


def find_test_results(json_obj, test):
Expand Down

0 comments on commit 23f9d86

Please sign in to comment.