From c8cd3350c45bdc9875a1aa1411d4f037fde31764 Mon Sep 17 00:00:00 2001 From: Matt Smith Date: Mon, 9 Sep 2024 13:15:28 +0000 Subject: [PATCH] sacct is showing no output, but sinfo is. --- .github/workflows/RunChecks.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/RunChecks.yaml b/.github/workflows/RunChecks.yaml index 39fe477..c28eb8b 100644 --- a/.github/workflows/RunChecks.yaml +++ b/.github/workflows/RunChecks.yaml @@ -50,9 +50,10 @@ jobs: chmod +x /usr/local/bin/sacct echo "/usr/local/bin" >> $GITHUB_PATH - Rscript -e 'if (!requireNamespace("processx", quietly = TRUE)) install.packages("processx"); processx::run("sinfo")' - Rscript -e 'processx::run("sacct")' - + Rscript -e 'if (!requireNamespace("processx", quietly = TRUE)) install.packages("processx"); processx::run("sinfo", args = "--json")' + Rscript -e 'Sys.which("sinfo")' + Rscript -e 'processx::run("sacct", args = "--json")' + Rscript -e 'Sys.which("sacct")' env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}