From 63142da8dc9a06d969a7fcc3140f2c3202c6ef2d Mon Sep 17 00:00:00 2001 From: Jeroen Ooms Date: Fri, 19 Apr 2024 20:52:18 +0200 Subject: [PATCH] tweak output --- .github/workflows/recheck.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/recheck.yml b/.github/workflows/recheck.yml index c36f071..33b4d67 100644 --- a/.github/workflows/recheck.yml +++ b/.github/workflows/recheck.yml @@ -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") }