mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
github/workflows/eval: add markdown of added, removed and changed
This commit is contained in:
parent
57feb2a16f
commit
0e27bc3f9e
2 changed files with 6 additions and 1 deletions
2
.github/workflows/eval.yml
vendored
2
.github/workflows/eval.yml
vendored
|
@ -210,7 +210,7 @@ jobs:
|
||||||
--arg beforeResultDir ./baseResult \
|
--arg beforeResultDir ./baseResult \
|
||||||
--arg afterResultDir ./prResult \
|
--arg afterResultDir ./prResult \
|
||||||
-o comparison
|
-o comparison
|
||||||
|
cat comparison/step-summary.md >> "$GITHUB_STEP_SUMMARY"
|
||||||
# TODO: Request reviews from maintainers for packages whose files are modified in the PR
|
# TODO: Request reviews from maintainers for packages whose files are modified in the PR
|
||||||
|
|
||||||
- name: Upload the combined results
|
- name: Upload the combined results
|
||||||
|
|
|
@ -261,6 +261,11 @@ let
|
||||||
--slurpfile after ${afterResultDir}/outpaths.json \
|
--slurpfile after ${afterResultDir}/outpaths.json \
|
||||||
> $out/changed-paths.json
|
> $out/changed-paths.json
|
||||||
|
|
||||||
|
jq -r '
|
||||||
|
"## Added\n" + (.attrdiff.added | map("- \(. )") | join("\n")) + "\n" +
|
||||||
|
"## Removed\n" + (.attrdiff.removed | map("- \(. )") | join("\n")) + "\n" +
|
||||||
|
"## Changed\n" + (.attrdiff.changed | map("- \(. )") | join("\n")) + "\n"
|
||||||
|
' < $out/changed-paths.json > $out/step-summary.md
|
||||||
# TODO: Compare eval stats
|
# TODO: Compare eval stats
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue