Skip to content

Create test-multiarch-install.yml #1

Create test-multiarch-install.yml

Create test-multiarch-install.yml #1

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

View workflow run for this annotation

GitHub Actions / Python Tests

Invalid workflow file

The workflow is not valid. .github/workflows/test-multiarch-install.yml (Line: 25, Col: 20): Unrecognized named-value: 'r-version'. Located at position 1 within expression: r-version
- 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(".")'