Fix snapshot tests (#776) #1146
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
# Make sure all examples run successfully, even the ones that are not supposed | |
# to be run or tested on CRAN machines by default. | |
# | |
# The examples that fail should use | |
# - `if (FALSE) { ... }` (if example is included only for illustrative purposes) | |
# - `try({ ... })` (if the intent is to show the error) | |
# | |
# This workflow helps find such failing examples that need to be modified. | |
on: | |
push: | |
branches: [main, master] | |
pull_request: | |
branches: [main, master] | |
name: check-all-examples | |
jobs: | |
check-all-examples: | |
uses: easystats/workflows/.github/workflows/check-all-examples.yaml@main |