Skip to content
Open
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,21 @@ on:

name: R-CMD-check

concurrency:
group: ${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: true
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I deleted this line because I would like to have the macos-14 build run to completion/sucess as a positive control https://github.com/Rdatatable/data.table/actions/runs/17743367148/job/50422540824 but I still see macos-14 build gets cancelled as soon as macos-15 build fails. is there a way to configure that here? Or is the configuration from master branch overriding somehow?

matrix:
config:
# Rdatatable has full-strength GLCI which runs after merge. So we just need a few
# jobs (mainly test-coverage) to run on every commit in PRs so as to not slow down dev.
# GHA does run these jobs concurrently but even so reducing the load seems like a good idea.
- {os: windows-latest, r: 'devel'}
# - {os: macOS-latest, r: 'release'} # test-coverage.yaml uses macOS
- {os: macos-14, r: 'release'}
- {os: macos-15, r: 'release'}
# TODO(remotes>2.5.0): Use 24.04[noble?]
- {os: ubuntu-22.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest"}
# - {os: ubuntu-22.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest", http-user-agent: "R/4.1.0 (ubuntu-22.04) R (4.1.0 x86_64-pc-linux-gnu x86_64 linux-gnu) on GitHub Actions" }
Expand Down Expand Up @@ -68,6 +64,12 @@ jobs:
eval sudo $cmd
done < <(Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "22.04"))')

- name: Install R Package Build Dependencies on MacOS, from https://github.com/stan-dev/cmdstanr/pull/1072/files
if: runner.os == 'macOS'
uses: r-hub/actions/setup-r-sysreqs@v1
with:
type: 'minimal'

- name: Install dependencies
run: |
remotes::install_deps(dependencies = TRUE)
Expand Down
Loading