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

test: Fix deploys for shinyapps.io and connect #1224

Merged
merged 15 commits into from
Mar 26, 2024
Merged

Conversation

karangattu
Copy link
Collaborator

@karangattu karangattu commented Mar 18, 2024

Remove unreachable code and modify condition to have the deploy tests run not only when the branch name starts with deploy but also when it is main
Additionally add logic to check if the rsconnect json file was updated to ensure that the deploy did take place. Currently we check if the file has been modified in the past 10 mins, on average the tests take 7 mins to run

@karangattu karangattu marked this pull request as ready for review March 18, 2024 16:56
tests/playwright/utils/deploy_utils.py Show resolved Hide resolved
tests/playwright/utils/deploy_utils.py Outdated Show resolved Hide resolved
tests/playwright/utils/deploy_utils.py Outdated Show resolved Hide resolved
tests/playwright/utils/deploy_utils.py Outdated Show resolved Hide resolved
tests/playwright/utils/deploy_utils.py Outdated Show resolved Hide resolved
tests/playwright/utils/deploy_utils.py Outdated Show resolved Hide resolved
@karangattu karangattu changed the title remove unreachable code test: Fix deploys for shinyapps.io and connect Mar 26, 2024
tests/playwright/utils/deploy_utils.py Outdated Show resolved Hide resolved
tests/playwright/utils/deploy_utils.py Outdated Show resolved Hide resolved
@karangattu karangattu merged commit b7816b7 into main Mar 26, 2024
32 checks passed
@karangattu karangattu deleted the deploy-check-verify branch March 26, 2024 14:55
schloerke added a commit that referenced this pull request Mar 28, 2024
* main:
  test(CI): Add merge queue support for faster PR testing (#1265)
  fix(panel_conditional): Include `.shiny-panel-conditional` class (#1257)
  feat: Create `Session.set_message_handler(name, handler)` (#1253)
  Fix input name
  Enable error console when running locally. (#1060)
  test: Update test to use variable, not capture stdout (#1236)
  test: Fix deploys for shinyapps.io and connect (#1224)
  chore(test): Playwright test refactors and clean up (#1204)
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.

2 participants