Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/apps-test-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,13 @@ jobs:
WDM_GITHUBTOKENSECRET: ${{ secrets.GITHUB_TOKEN }}
shell: Rscript {0}
run: |
# Allow for a 10% difference in the screenshot kernel
# 62.5 / (3x RGB channels * 25 * 25) = 62.5 / 625 = 10%
options(
shinytest2.compare_screenshot.threshold = 62.5,
shinytest2.compare_screenshot.kernel_size = 25
)

apps <- shinycoreci:::apps_with_tests()
is_pull_request <- isTRUE(jsonlite::parse_json("${{ github.event_name == 'pull_request' }}"))
if (is_pull_request) {
Expand Down
Loading