Skip to content

Skip tests in CI: stop breaking build on inbo Runiverse #345

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

Closed
PietrH opened this issue Mar 21, 2025 · 2 comments · Fixed by #346
Closed

Skip tests in CI: stop breaking build on inbo Runiverse #345

PietrH opened this issue Mar 21, 2025 · 2 comments · Fixed by #346
Assignees
Labels
dev Improvements to development workflow

Comments

@PietrH
Copy link
Member

PietrH commented Mar 21, 2025

skip_if(Sys.info()["nodename"] != "rshiny", "Test is not running on Lifewatch RStudio Server")

Or even better:

skip_if("ETN" %in% odbc::odbcListDataSources()$name, "ETN is not a local database on this machine")

Originally posted by @PietrH in #330

@PietrH PietrH self-assigned this Mar 21, 2025
@PietrH PietrH added the dev Improvements to development workflow label Mar 21, 2025
@PietrH
Copy link
Member Author

PietrH commented Mar 21, 2025

Reported by Thierry

@PietrH
Copy link
Member Author

PietrH commented Mar 21, 2025

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

Successfully merging a pull request may close this issue.

1 participant