Skip to content

Commit

Permalink
back to allowing building of vignettes because the error still revolv…
Browse files Browse the repository at this point in the history
…es around slurm.
  • Loading branch information
mduncans committed Sep 6, 2024
1 parent 6efb776 commit 44a6b52
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 2,631 deletions.
30 changes: 25 additions & 5 deletions .github/workflows/RunChecks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,32 @@ jobs:
r-version: ${{ matrix.config.r }}
use-public-rspm: true

- name: Install Slurm tools
- name: Download mocked binaries
run: |
sudo apt-get update
sudo apt-get install -y slurm-client
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 }}

- uses: r-lib/actions/setup-r-dependencies@v2
with:
Expand All @@ -52,5 +74,3 @@ jobs:
- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true


81 changes: 0 additions & 81 deletions inst/doc/Running-nonmem.R

This file was deleted.

269 changes: 0 additions & 269 deletions inst/doc/Running-nonmem.Rmd

This file was deleted.

Loading

0 comments on commit 44a6b52

Please sign in to comment.