-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ondrej Slama
committed
Feb 22, 2024
1 parent
7d02f52
commit 7050016
Showing
1 changed file
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
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 | ||
validation: | ||
name: R Package Validation report 📃 | ||
needs: release | ||
uses: insightsengineering/r.pkg.template/.github/workflows/validation.yaml@main | ||
secrets: | ||
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} | ||
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 | ||
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 | ||
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 }} |