Skip to content

Commit

Permalink
tweak output
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Apr 19, 2024
1 parent ea22d87 commit 63142da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/recheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,18 +126,19 @@ jobs:
- name: Download log files
uses: actions/download-artifact@v4

- name: Show results
- name: Get results
shell: Rscript {0}
run: |
cat("\n------- Check results summary ------\n")
tools::summarize_check_packages_in_dir_results("newpkg-checklogs")
# Check for regressions
cat("\n------- Check for regressions ------\n")
changes <- tools::check_packages_in_dir_changes("newpkg-checklogs", "oldpkg-checklogs")
if(nrow(changes)){
cat("Changes:\n")
print(changes)
stop("Found potential regressions")
stop("Found potential problems")
} else {
cat("No changes between old and new version\n")
}
Expand Down

0 comments on commit 63142da

Please sign in to comment.