diff --git a/.github/workflows/RunChecks.yaml b/.github/workflows/RunChecks.yaml index 9735294..b208eaa 100644 --- a/.github/workflows/RunChecks.yaml +++ b/.github/workflows/RunChecks.yaml @@ -35,32 +35,10 @@ jobs: r-version: ${{ matrix.config.r }} use-public-rspm: true - - name: Download mocked binaries + - name: Install Slurm tools run: | - mkdir -p /usr/local/bin - cd /tmp - gh release download "sinfo/v0.2.0" -R a2-ai-tech-training/slurm-mocks -p "*Linux_x86_64.tar.gz" -D /usr/local/bin/ - tar -xvf /usr/local/bin/sinfo_Linux_x86_64.tar.gz - mv ./sinfo /usr/local/bin/sinfo - chmod +x /usr/local/bin/sinfo - - gh release download "sacct/v0.2.0" -R a2-ai-tech-training/slurm-mocks -p "*Linux_x86_64.tar.gz" -D /usr/local/bin/ - tar -xvf /usr/local/bin/sacct_Linux_x86_64.tar.gz - mv ./sacct /usr/local/bin/sacct - chmod +x /usr/local/bin/sacct - - echo "/usr/local/bin" >> $GITHUB_PATH - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Grab outputs directory from mocked repo - run: | - cd /tmp - gh repo clone a2-ai-tech-training/slurm-mocks - mv /tmp/slurm-mocks/sinfo/outputs $GITHUB_WORKSPACE/ - rm -rf /tmp/slurm-mocks - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + sudo apt-get update + sudo apt-get install -y slurm-client - uses: r-lib/actions/setup-r-dependencies@v2 with: @@ -74,4 +52,5 @@ jobs: - uses: r-lib/actions/check-r-package@v2 with: upload-snapshots: true - build_args: '"--no-build-vignettes"' + +