Skip to content

Commit c917923

Browse files
committed
from Travis-CI to Github Actions
1 parent 3e7dc5b commit c917923

File tree

9 files changed

+1130
-24
lines changed

9 files changed

+1130
-24
lines changed

.github/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.html

.github/workflows/check-development.yml

Lines changed: 535 additions & 0 deletions
Large diffs are not rendered by default.

.github/workflows/check-master.yml

Lines changed: 538 additions & 0 deletions
Large diffs are not rendered by default.

.github/workflows/pkgdown.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
on:
2+
push:
3+
branches: master
4+
5+
name: pkgdown
6+
7+
jobs:
8+
pkgdown:
9+
runs-on: macOS-latest
10+
env:
11+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- uses: r-lib/actions/setup-r@master
16+
17+
- uses: r-lib/actions/setup-pandoc@master
18+
19+
- name: Query dependencies
20+
run: |
21+
install.packages('remotes')
22+
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
23+
writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version")
24+
shell: Rscript {0}
25+
26+
- name: Cache R packages
27+
uses: actions/cache@v1
28+
with:
29+
path: ${{ env.R_LIBS_USER }}
30+
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
31+
restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-
32+
33+
- name: Install dependencies
34+
run: |
35+
install.packages("remotes")
36+
remotes::install_deps(dependencies = TRUE)
37+
remotes::install_dev("pkgdown")
38+
shell: Rscript {0}
39+
40+
- name: Install package
41+
run: R CMD INSTALL .
42+
43+
- name: Deploy package
44+
run: pkgdown::deploy_to_branch(new_process = FALSE)
45+
shell: Rscript {0}

.travis.yml

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

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ biocViews:
3636
BiomedicalInformatics,
3737
SingleCell,
3838
SomaticMutation
39-
RoxygenNote: 7.1.0
39+
RoxygenNote: 7.1.1
4040
VignetteBuilder: knitr

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# Longitudinal Analysis of Cancer Evolution (LACE)
22
================
33

4-
| Branch | Stato CI |
5-
|---------------------|---------------|
6-
| master | [![Build Status](https://travis-ci.org/BIMIB-DISCo/LACE.svg?branch=master)](https://travis-ci.org/BIMIB-DISCo/LACE) |
7-
| development | [![Build Status](https://travis-ci.org/BIMIB-DISCo/LACE.svg?branch=development)](https://travis-ci.org/BIMIB-DISCo/LACE) |
4+
[![Actions Status](https://github.com/BIMIB-DISCo/TRONCO/workflows/check-master/badge.svg)](https://github.com/BIMIB-DISCo/TRONCO/actions?query=workflow%3Acheck-master)
5+
[![Actions Status](https://github.com/BIMIB-DISCo/TRONCO/workflows/check-development/badge.svg)](https://github.com/BIMIB-DISCo/TRONCO/actions?query=workflow%3Acheck-development)
6+
[![codecov](https://codecov.io/gh/BIMIB-DISCo/TRONCO/branch/master/graph/badge.svg)](https://codecov.io/gh/BIMIB-DISCo/TRONCO)
87

98
================
109

_pkgdown.yml

Whitespace-only changes.

inst/NEWS.Rd

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22
\title{News for package \pkg{LACE}}
33
\encoding{UTF-8}
44

5-
\section{Changes in Version 1.0.0}{
5+
\section{Changes in Version 1.1.1}{
6+
\itemize{
7+
\item From Travis-CI to Github Actions.
8+
}
9+
}
10+
11+
\section{Changes in Version 1.1.0}{
612
\itemize{
713
\item Package released in April 2020.
814
}

0 commit comments

Comments
 (0)