Skip to content

Commit

Permalink
update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Ondrej Slama committed Feb 22, 2024
1 parent 4c81fb9 commit 8a843fa
Showing 1 changed file with 29 additions and 17 deletions.
46 changes: 29 additions & 17 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ on:
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
# 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
Expand All @@ -30,14 +30,26 @@ jobs:
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
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]
Expand Down

0 comments on commit 8a843fa

Please sign in to comment.