Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add inform_latest_results() #255

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gadenbuie
Copy link
Member

@gadenbuie gadenbuie commented Dec 7, 2023

A small helper to list the currently failing tests from the latest nightly run.

pkgload::load_all()

inform_latest_results()
#> <https://rstudio.github.io/shinycoreci/results/2023/12/07/>
#> ✖ 6 tests failed:
#> - `145-dt-replacedata`
#> - `178-delayed-widget`
#> - `180-delayed-staticwidget`
#> - `301-bs-themes`
#> - `308-sidebar-kitchen-sink`
#> - `313-bslib-card-tab-focus`

I find it helpful to start looking into test failures with a list like this, otherwise it's easy to resolve all of the snaphots with fix_snaps() and miss other types of test failures that didn't involve snapshots.

A small helper to list the currently failing tests from the latest nightly run.
@@ -355,3 +355,42 @@ verify_no_untracked_files <- function(repo_dir, apps_folder) {
stop("Make sure there are no untracked files. Please remove the files or commit the changes.")
}
}


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing docs and export tag

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol I thought it could be an internal helper function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants