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

app mode inferred only using top-level files #949

Merged
merged 5 commits into from
Aug 14, 2023
Merged

Conversation

aronatkins
Copy link
Contributor

@aronatkins aronatkins commented Aug 11, 2023

Update: Rerooted on #950 to have its CI adjustments.

fixes #942

test_that("files beneath the root are not ignored when determining app-mode", {
dir <- local_temp_app(list("app.R" = "", "plumber/api/plumber.R" = ""))
metadata <- appMetadata(dir)
expect_equal(metadata$appMode, "shiny")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This test incorrectly produced "api" before this fix.

@aronatkins
Copy link
Contributor Author

Test failures from #950; will update once that merges down.

@aronatkins aronatkins changed the base branch from main to aron-bioc August 14, 2023 12:27
Base automatically changed from aron-bioc to main August 14, 2023 13:15
@aronatkins aronatkins merged commit d5c3d5f into main Aug 14, 2023
10 checks passed
@aronatkins aronatkins deleted the aron-issue-942 branch August 14, 2023 13:31
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.

Deployment fails because bundle is wrongly identified as API by inferAppMode()
2 participants