Skip to content

Commit

Permalink
moved from TRAVIS CI to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gi0na committed Mar 11, 2024
1 parent db6fa73 commit afdc65b
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 6 deletions.
1 change: 0 additions & 1 deletion .Rbuildignore
Expand Up @@ -8,7 +8,6 @@ logo.svg
vignettes/.gitignore
vignettes/.Rhistory
LICENSE
^\.travis\.yml$
^_pkgdown\.yml$
^docs$
^pkgdown$
Expand Down
50 changes: 50 additions & 0 deletions .github/workflows/R-CMD-check.yaml
@@ -0,0 +1,50 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: R-CMD-check

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

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

strategy:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Expand Up @@ -3,7 +3,6 @@
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.2555300.svg)](https://doi.org/10.5281/zenodo.2555300)
[![Generic badge](https://cranlogs.r-pkg.org/badges/last-month/ghypernet)](https://cran.r-project.org/package=ghypernet)
[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-red.svg)](https://www.gnu.org/licenses/agpl-3.0)
[![Travis build status](https://api.travis-ci.com/gi0na/r-ghypernet.svg?branch=master)](https://app.travis-ci.com/github/gi0na/r-ghypernet)
<!-- badges: end -->


Expand Down

0 comments on commit afdc65b

Please sign in to comment.