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

Send status code of 1 when unit tests fail #177

Merged
merged 4 commits into from
Feb 13, 2020
Merged

Send status code of 1 when unit tests fail #177

merged 4 commits into from
Feb 13, 2020

Conversation

rpkyle
Copy link
Contributor

@rpkyle rpkyle commented Feb 13, 2020

Currently, the unit test failures aren't properly detected in CI, as noted in #152. This is a limitation of the testthat package, which does not send a failure code even when tests have failed.

The proposed edit to the CircleCI config should properly trigger a failure code; this PR will trigger an error initially to test whether the change works as intended.

Closes #152.

@Marc-Andre-Rivet

@rpkyle rpkyle self-assigned this Feb 13, 2020
@rpkyle rpkyle added the testing Issues and PRs related to improvements in the testing infrastructure label Feb 13, 2020
@rpkyle rpkyle added this to the Dash v1.10 milestone Feb 13, 2020
@rpkyle rpkyle linked an issue Feb 13, 2020 that may be closed by this pull request
Copy link
Contributor

@HammadTheOne HammadTheOne left a comment

Choose a reason for hiding this comment

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

LGTM

💃

@rpkyle rpkyle merged commit 0085036 into dev Feb 13, 2020
@rpkyle rpkyle deleted the 152-ci-fix-status branch February 13, 2020 03:34
rpkyle added a commit that referenced this pull request Feb 13, 2020
* Autoset routes and requests pathname prefixes (#165)

* Inspect environment variables for host & port (#167)

* Support for index page templating (#168)

* Add support for config-aware relative paths (#172)

* Add unit tests for index customization (#176)

* Send status code of 1 when unit tests fail (#177)
rpkyle added a commit that referenced this pull request May 6, 2020
* Add unit tests for index customization (#176)

* Send status code of 1 when unit tests fail (#177)

* Support for arbitrary file extensions (#186)

* Add assortment of unit tests to Dash for R (#179)

* Nested and standard components test (#191)

* Support inline clientside callbacks in Dash for R (#140)

* Speed up CI, use image from plotly

* Update to dash-renderer 1.4.1

Co-authored-by: HammadTheOne <hammadkhan@plotly.com>
Co-authored-by: Marc-André Rivet <marc-andre.rivet@plotly.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Issues and PRs related to improvements in the testing infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI tests do not register as successful / failed in PRs
2 participants