-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (31 loc) · 911 Bytes
/
r.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: 🌱
on:
push:
branches: "main"
pull_request:
branches: "main"
jobs:
build:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
with:
r-version: "4.3.1"
- name: Install R::devtools dependencies on Ubuntu
run: |
sudo apt install -y libcurl4-openssl-dev libharfbuzz-dev libfribidi-dev
- name: Install dependencies on R
run: |
install.packages(c("devtools", "testthat", "vcfR", "doParallel", "foreach", "txtplot", "glmnet", "BGLR", "sommer"))
shell: Rscript {0}
- name: Install simquantgen
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
run: |
devtools::install_github("jeffersonfparil/simquantgen")
shell: Rscript {0}
- name: Test
run: |
devtools::check()
shell: Rscript {0}