Skip to content

Commit 1247e5a

Browse files
committed
chore: travis to gh actions
1 parent b791c3a commit 1247e5a

4 files changed

Lines changed: 48 additions & 11 deletions

File tree

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@
1414
^LICENSE\.md$
1515
^pkgdown$
1616
^CRAN-SUBMISSION$
17+
^\.github$

.github/workflows/ci.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: R-CMD-check
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
pull_request:
7+
branches: [ main, master ]
8+
9+
jobs:
10+
R-CMD-check:
11+
runs-on: ${{ matrix.config.os }}
12+
13+
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
14+
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
config:
19+
- {os: ubuntu-latest, r: 'release'}
20+
- {os: windows-latest, r: 'release'}
21+
- {os: macOS-latest, r: 'release'}
22+
23+
env:
24+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
25+
R_KEEP_PKG_SOURCE: yes
26+
27+
steps:
28+
- uses: actions/checkout@v4
29+
30+
- uses: r-lib/actions/setup-pandoc@v2
31+
32+
- uses: r-lib/actions/setup-r@v2
33+
with:
34+
r-version: ${{ matrix.config.r }}
35+
http-user-agent: ${{ matrix.config.http-user-agent }}
36+
use-public-rspm: true
37+
38+
- uses: r-lib/actions/setup-r-dependencies@v2
39+
with:
40+
extra-packages: any::rcmdcheck
41+
needs: check
42+
43+
- uses: r-lib/actions/check-r-package@v2
44+
with:
45+
upload-snapshots: true
46+
error-on: '"note"'

.travis.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# DataSHIELD Lite
22

3-
[![Build Status](https://app.travis-ci.com/datashield/DSLite.svg?branch=master)](https://app.travis-ci.com/github/datashield/DSLite)
43
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/DSLite)](https://cran.r-project.org/package=DSLite)
4+
[![R-CMD-check](https://github.com/datashield/DSLite/actions/workflows/ci.yml/badge.svg)](https://github.com/datashield/DSLite/actions/workflows/ci.yml)
55

66
Serverless [DataSHIELD Interface (DSI)](https://datashield.github.io/DSI/) implementation which purpose is to mimic
77
the behavior of a distant (virtualized or barebone) data repository server (see [DSOpal](https://datashield.github.io/DSOpal/) for instance). The

0 commit comments

Comments
 (0)