From d2525f26bfa28a0b1aa2ea327717996d61d64f72 Mon Sep 17 00:00:00 2001 From: Matt Date: Thu, 1 Aug 2024 21:03:19 +0000 Subject: [PATCH] another github actions commit --- .github/workflows/RunChecks.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/RunChecks.yaml b/.github/workflows/RunChecks.yaml index 064bc95..891fb0a 100644 --- a/.github/workflows/RunChecks.yaml +++ b/.github/workflows/RunChecks.yaml @@ -35,6 +35,13 @@ jobs: r-version: ${{ matrix.config.r }} use-public-rspm: true + - name: Add mocked binaries to PATH + run: | + mkdir -p $HOME/bin + cp inst/bin/sinfo $HOME/bin/sinfo + cp inst/bin/sacct $HOME/bin/sacct + echo "$HOME/bin" >> $GITHUB_PATH + - uses: r-lib/actions/setup-r-dependencies@v2 with: extra-packages: any::rcmdcheck @@ -43,8 +50,3 @@ jobs: - uses: r-lib/actions/check-r-package@v2 with: upload-snapshots: true - run: | - cp inst/bin/sinfo /usr/local/bin/sinfo - chmod +x /usr/local/bin/sinfo - cp inst/bin/sacct /usr/local/bin/sacct - chmod +x /usr/local/bin/sacct