Skip to content

343: simplify tests to avoid spurious CRAN test failures [skip vbump]… #10

343: simplify tests to avoid spurious CRAN test failures [skip vbump]…

343: simplify tests to avoid spurious CRAN test failures [skip vbump]… #10

Workflow file for this run

---
name: Release 🎈
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
release:
name: Create release πŸŽ‰
uses: insightsengineering/r.pkg.template/.github/workflows/release.yaml@main
permissions:
contents: write
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.GITHUB_TOKEN }}
with:
additional-r-cmd-check-params: --as-cran
unit-test-report-brand: >-
https://raw.githubusercontent.com/insightsengineering/hex-stickers/main/thumbs/mmrm.png
coverage:
name: Coverage πŸ“”
needs: [release, docs]
uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build:
name: Build package 🎁
needs: release
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.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
with:
refs-order: c("latest-tag", "main")
default-landing-page: latest-tag
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}