-
Notifications
You must be signed in to change notification settings - Fork 1
58 lines (56 loc) · 1.83 KB
/
release.yaml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
name: Release 🎈
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
# build:
# name: Build package 🎁
# needs: release
# uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main
# secrets:
# REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
# with:
# skip-r-cmd-check: true
# skip-r-cmd-install: true
docs:
name: Pkgdown Docs 📚
needs: release
uses: insightsengineering/r.pkg.template/.github/workflows/pkgdown.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
default-landing-page: main
release:
name: Create release 🎉
uses: insightsengineering/r.pkg.template/.github/workflows/release.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
r-cmd:
name: R CMD Check 🧬
needs: [release, docs]
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
additional-r-cmd-check-params: --as-cran
skip-r-cmd-install: true
# additional-env-vars: |
# _R_CHECK_CRAN_INCOMING_REMOTE_=false
# enforce-note-blocklist: true
# note-blocklist: |
# checking dependencies in R code .* NOTE
# checking R code for possible problems .* NOTE
# checking examples .* NOTE
# checking Rd line widths .* NOTE
# checking top-level files .* NOTE
# unit-test-report-brand: >-
# https://raw.githubusercontent.com/insightsengineering/hex-stickers/main/thumbs/tern.png
coverage:
name: Coverage 📔
needs: [release, docs]
uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}