Skip to content

Commit

Permalink
add changed packages to build summary
Browse files Browse the repository at this point in the history
  • Loading branch information
itepastra committed Nov 30, 2024
1 parent 57feb2a commit 9605743
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/eval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ jobs:
--arg beforeResultDir ./baseResult \
--arg afterResultDir ./prResult \
-o comparison
cat comparison/step-summary.md >> "$GITHUB_STEP_SUMMARY"
# TODO: Request reviews from maintainers for packages whose files are modified in the PR
- name: Upload the combined results
Expand Down
6 changes: 6 additions & 0 deletions ci/eval/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,12 @@ let
--slurpfile after ${afterResultDir}/outpaths.json \
> $out/changed-paths.json
echo -e "## Added\n" > $out/step-summary.md
jq -r '.attrdiff.added[]' $out/changed-paths.json >> $out/step-summary.md
echo -e "\n## Removed\n" >> $out/step-summary.md
jq -r '.attrdiff.removed[]' $out/changed-paths.json >> $out/step-summary.md
echo -e "\n## Changed\n" >> $out/step-summary.md
jq -r '.attrdiff.changed[]' $out/changed-paths.json >> $out/step-summary.md
# TODO: Compare eval stats
'';

Expand Down

0 comments on commit 9605743

Please sign in to comment.