Skip to content

Update test-multiarch-install.yml, removed sparse checkout since it d… #5

Update test-multiarch-install.yml, removed sparse checkout since it d…

Update test-multiarch-install.yml, removed sparse checkout since it d… #5

name: Testing multiarch installation
on:
push:
branches:
- main
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false # Ensure all jobs in the matrix run even if one fails
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
rversion: ["4.4.2"] # Add or remove versions as needed
steps:
# Step 1: Checkout the repository
- name: Checkout code
uses: actions/checkout@v3
with:
sparse-checkout-cone-mode: false
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.rversion }} # The R version to download (if necessary) and use.
- name: Install pak
run: R -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
- name: Install rblm
run: R -e 'library(pak); pak::pkg_install(".")'