Skip to content

Commit

Permalink
Create test-multiarch-install.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tlamadon authored Jan 29, 2025
1 parent 0d147d8 commit e118e91
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test-multiarch-install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Python Tests

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]
r-version: ["4.1", "4.2"] # Add or remove versions as needed

steps:

# Step 1: Checkout the repository
- name: Checkout code
uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{r-version}} # 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(".")'


0 comments on commit e118e91

Please sign in to comment.