Skip to content

Revise CI tests to have a more stable run #5602

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

Merged
merged 4 commits into from
Apr 21, 2021
Merged

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Apr 21, 2021

In the past months, we encountered some issues when running our tests on the CI.
Namely no-gl-jasmine container regularly failed due to not finding the test files.
Also the publish-dist take several minutes to complete.
As a result it took several (or infinite) re-runs to get a green light.

This PR helps fix these problems by splitting tests.

@plotly/plotly_js

@archmoj archmoj added this to the NEXT milestone Apr 21, 2021
- run:
name: Test plotly bundles against es6
command: npm run no-es6-dist
- run:
name: Test plotly bundles againt duplicate keys
environment:
NODE_OPTIONS: --max_old_space_size=4096
Copy link
Collaborator

Choose a reason for hiding this comment

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

What was this option about, and why are we removing it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It used to be there as a hack to help the duplicate-key test run.
It is no longer needed.

Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

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

🚀 💃

@archmoj archmoj merged commit 4c9cd0c into master Apr 21, 2021
@archmoj archmoj deleted the more-stable-ci-jasmine branch April 21, 2021 21:51
@archmoj archmoj mentioned this pull request Apr 21, 2021
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