Skip to content

Commit fdf6385

Browse files
committed
Add macOS-only CI runner
1 parent 407fd40 commit fdf6385

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

.github/workflows/macos.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Run CI for R using https://eddelbuettel.github.io/r-ci/
2+
3+
name: ci
4+
5+
on:
6+
push:
7+
pull_request:
8+
9+
env:
10+
_R_CHECK_FORCE_SUGGESTS_: "false"
11+
12+
jobs:
13+
ci:
14+
strategy:
15+
matrix:
16+
include:
17+
- {os: macOS-latest}
18+
#- {os: ubuntu-latest}
19+
20+
runs-on: ${{ matrix.os }}
21+
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v4
25+
26+
- name: Setup
27+
uses: eddelbuettel/github-actions/r-ci-setup@master
28+
29+
- name: Bootstrap
30+
run: ./run.sh bootstrap
31+
32+
- name: Dependencies
33+
run: ./run.sh install_deps
34+
35+
- name: Test
36+
run: ./run.sh run_tests
37+
38+
#- name: Coverage
39+
# if: ${{ matrix.os == 'ubuntu-latest' }}
40+
# run: ./run.sh coverage

ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* inst/tinytest/test_sugar.R: Skip one more NA related test on arm64
44
and macOS as failure is seen at r-universe on arm64
55

6+
* .github/workflows/macos.yaml: Add basic r-ci setup but dialed-down
7+
to macOS only (as Linux is covered via multiple Docker setups)
8+
69
2024-08-19 Dirk Eddelbuettel <[email protected]>
710

811
* Contributing.md: Refreshed content

0 commit comments

Comments
 (0)