Skip to content

Commit

Permalink
ci: twister: capture branch when publishing results
Browse files Browse the repository at this point in the history
This way we can filter by branches in the dashboard.

Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif committed Nov 22, 2024
1 parent a27842f commit 86f6163
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/twister-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ jobs:
if [ "${{github.event.workflow_run.event}}" = "push" ]; then
python3 ./scripts/ci/upload_test_results_es.py -r ${run_date} \
--run-attempt ${{github.run_attempt}} \
--run-branch ${{github.ref_name}} \
--index zephyr-main-ci-push-1 artifacts/*/*/twister.json
elif [ "${{github.event.workflow_run.event}}" = "schedule" ]; then
python3 ./scripts/ci/upload_test_results_es.py -r ${run_date} \
--run-attempt ${{github.run_attempt}} \
--run-branch ${{github.ref_name}} \
--index zephyr-main-ci-weekly-1 artifacts/*/*/twister.json
fi

0 comments on commit 86f6163

Please sign in to comment.