Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Physmon comment report pipes through summary #2342

Merged
merged 18 commits into from
Aug 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,14 @@ jobs:
- name: Render comment
if: steps.get-pr-number.outputs.result != 'false'
run: |
pip install Jinja2
ls -al $GITHUB_WORKSPACE/physmon
CI/physmon/generate_comment.py $GITHUB_WORKSPACE/physmon comment.md
echo "# 📊: Physics performance monitoring for ${PR_SHA}" >> comment.md
echo "[Full contents](${ARTIFACT_URL})" >> comment.md
if [ -f "$GITHUB_WORKSPACE/physmon/summary.md" ]; then
cat $GITHUB_WORKSPACE/physmon/summary.md >> comment.md
else
echo "🟥 summary not found!" >> comment.md
fi
cat comment.md

- name: Find Comment
Expand Down
167 changes: 0 additions & 167 deletions CI/physmon/comment_template.md

This file was deleted.

100 changes: 0 additions & 100 deletions CI/physmon/generate_comment.py

This file was deleted.