Skip to content

Commit

Permalink
test checks on devel im
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrassellyb committed Oct 25, 2023
1 parent 1ebc258 commit 366e616
Showing 1 changed file with 67 additions and 67 deletions.
134 changes: 67 additions & 67 deletions .github/workflows/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,74 +34,74 @@ concurrency:
cancel-in-progress: true

jobs:
style:
name: Code Style
uses: pharmaverse/admiralci/.github/workflows/style.yml@main
if: github.event_name == 'pull_request'
with:
r-version: "4.1"
spellcheck:
name: Spelling
uses: pharmaverse/admiralci/.github/workflows/spellcheck.yml@main
if: github.event_name == 'pull_request'
with:
r-version: "4.1"
readme:
name: Render README
uses: pharmaverse/admiralci/.github/workflows/readme-render.yml@main
if: github.event_name == 'push'
with:
r-version: "4.1"
validation:
name: Validation
uses: pharmaverse/admiralci/.github/workflows/r-pkg-validation.yml@main
if: github.event_name == 'release'
with:
r-version: "4.1"
# style:
# name: Code Style
# uses: pharmaverse/admiralci/.github/workflows/style.yml@main
# if: github.event_name == 'pull_request'
# with:
# r-version: "4.1"
# spellcheck:
# name: Spelling
# uses: pharmaverse/admiralci/.github/workflows/spellcheck.yml@main
# if: github.event_name == 'pull_request'
# with:
# r-version: "4.1"
# readme:
# name: Render README
# uses: pharmaverse/admiralci/.github/workflows/readme-render.yml@main
# if: github.event_name == 'push'
# with:
# r-version: "4.1"
# validation:
# name: Validation
# uses: pharmaverse/admiralci/.github/workflows/r-pkg-validation.yml@main
# if: github.event_name == 'release'
# with:
# r-version: "4.1"
check:
name: Check
uses: pharmaverse/admiralci/.github/workflows/r-cmd-check.yml@main
uses: pharmaverse/admiralci/.github/workflows/r-cmd-check.yml@add_devel_image
with:
error-on: warning # TODO: find a way to ignore specific notes
if: github.event_name == 'pull_request'
docs:
name: Documentation
uses: pharmaverse/admiralci/.github/workflows/pkgdown.yml@main
if: github.event_name == 'push' || startsWith(github.ref, 'refs/tags/v')
with:
r-version: "4.1"
# Whether to skip multiversion docs
# Note that if you have multiple versions of docs,
# your URL links are likely to break due to path changes
skip-multiversion-docs: false
latest-tag-alt-name: cran-release
multiversion-docs-landing-page: cran-release
branches-or-tags-to-list: >-
^cran-release$|^v([0-9]+\\.)?([0-9]+\\.)?([0-9]+)$
linter:
name: Lint
uses: pharmaverse/admiralci/.github/workflows/lintr.yml@main
if: github.event_name == 'pull_request'
with:
r-version: "4.1"
links:
name: Links
uses: pharmaverse/admiralci/.github/workflows/links.yml@main
if: github.event_name == 'pull_request'
coverage:
name: Code Coverage
uses: pharmaverse/admiralci/.github/workflows/code-coverage.yml@main
if: >
github.event_name != 'release'
with:
r-version: "4.1"
# Whether to skip code coverage badge creation
# Setting to 'false' will require you to create
# an orphan branch called 'badges' in your repository
skip-coverage-badges: false
man-pages:
name: Man Pages
uses: pharmaverse/admiralci/.github/workflows/man-pages.yml@main
if: github.event_name == 'pull_request'
with:
r-version: "4.1"
if: github.event_name == 'push'
# docs:
# name: Documentation
# uses: pharmaverse/admiralci/.github/workflows/pkgdown.yml@main
# if: github.event_name == 'push' || startsWith(github.ref, 'refs/tags/v')
# with:
# r-version: "4.1"
# # Whether to skip multiversion docs
# # Note that if you have multiple versions of docs,
# # your URL links are likely to break due to path changes
# skip-multiversion-docs: false
# latest-tag-alt-name: cran-release
# multiversion-docs-landing-page: cran-release
# branches-or-tags-to-list: >-
# ^cran-release$|^v([0-9]+\\.)?([0-9]+\\.)?([0-9]+)$
# linter:
# name: Lint
# uses: pharmaverse/admiralci/.github/workflows/lintr.yml@main
# if: github.event_name == 'pull_request'
# with:
# r-version: "4.1"
# links:
# name: Links
# uses: pharmaverse/admiralci/.github/workflows/links.yml@main
# if: github.event_name == 'pull_request'
# coverage:
# name: Code Coverage
# uses: pharmaverse/admiralci/.github/workflows/code-coverage.yml@main
# if: >
# github.event_name != 'release'
# with:
# r-version: "4.1"
# # Whether to skip code coverage badge creation
# # Setting to 'false' will require you to create
# # an orphan branch called 'badges' in your repository
# skip-coverage-badges: false
# man-pages:
# name: Man Pages
# uses: pharmaverse/admiralci/.github/workflows/man-pages.yml@main
# if: github.event_name == 'pull_request'
# with:
# r-version: "4.1"

0 comments on commit 366e616

Please sign in to comment.