Create test-multiarch-install.yml #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
Check failure on line 25 in .github/workflows/test-multiarch-install.yml
|
||
- 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(".")' | ||