Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
walkowif committed Jun 26, 2024
1 parent ce5f2aa commit e69082b
Showing 1 changed file with 35 additions and 33 deletions.
68 changes: 35 additions & 33 deletions .github/workflows/rhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,44 +53,46 @@ jobs:
run: |
wget https://gist.githubusercontent.com/pawelru/2efd7db65436a558ac050cefe23e3306/raw/f80c64bd2fd12513fda14685213765265ba7965c/new_staged_deps.R
git config --global --add safe.directory $(pwd)
R -e 'install.packages("cli")'
Rscript new_staged_deps.R
shell: bash
- uses: r-hub/actions/run-check@v1
with:
token: ${{ secrets.RHUB_TOKEN }}
job-config: ${{ matrix.config.job-config }}

other-platforms:
needs: setup
if: ${{ needs.setup.outputs.platforms != '[]' }}
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.label }}
strategy:
fail-fast: false
matrix:
config: ${{ fromJson(needs.setup.outputs.platforms) }}
# other-platforms:
# needs: setup
# if: ${{ needs.setup.outputs.platforms != '[]' }}
# runs-on: ${{ matrix.config.os }}
# name: ${{ matrix.config.label }}
# strategy:
# fail-fast: false
# matrix:
# config: ${{ fromJson(needs.setup.outputs.platforms) }}

steps:
- uses: r-hub/actions/checkout@v1
- uses: r-hub/actions/setup-r@v1
with:
job-config: ${{ matrix.config.job-config }}
token: ${{ secrets.RHUB_TOKEN }}
- uses: r-hub/actions/platform-info@v1
with:
token: ${{ secrets.RHUB_TOKEN }}
job-config: ${{ matrix.config.job-config }}
# - uses: r-hub/actions/setup-deps@v1
# with:
# job-config: ${{ matrix.config.job-config }}
# token: ${{ secrets.RHUB_TOKEN }}
- name: Setup custom dependencies
run: |
wget https://gist.githubusercontent.com/pawelru/2efd7db65436a558ac050cefe23e3306/raw/f80c64bd2fd12513fda14685213765265ba7965c/new_staged_deps.R
git config --global --add safe.directory $(pwd)
Rscript new_staged_deps.R
shell: bash
- uses: r-hub/actions/run-check@v1
with:
job-config: ${{ matrix.config.job-config }}
token: ${{ secrets.RHUB_TOKEN }}
# steps:
# - uses: r-hub/actions/checkout@v1
# - uses: r-hub/actions/setup-r@v1
# with:
# job-config: ${{ matrix.config.job-config }}
# token: ${{ secrets.RHUB_TOKEN }}
# - uses: r-hub/actions/platform-info@v1
# with:
# token: ${{ secrets.RHUB_TOKEN }}
# job-config: ${{ matrix.config.job-config }}
# # - uses: r-hub/actions/setup-deps@v1
# # with:
# # job-config: ${{ matrix.config.job-config }}
# # token: ${{ secrets.RHUB_TOKEN }}
# - name: Setup custom dependencies
# run: |
# wget https://gist.githubusercontent.com/pawelru/2efd7db65436a558ac050cefe23e3306/raw/f80c64bd2fd12513fda14685213765265ba7965c/new_staged_deps.R
# git config --global --add safe.directory $(pwd)
# R -e 'install.packages("cli")'
# Rscript new_staged_deps.R
# shell: bash
# - uses: r-hub/actions/run-check@v1
# with:
# job-config: ${{ matrix.config.job-config }}
# token: ${{ secrets.RHUB_TOKEN }}

0 comments on commit e69082b

Please sign in to comment.