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

Research the possibility of moving the CI setup to Github Actions. #8652

Closed
jansiegel opened this issue Aug 19, 2021 · 1 comment · Fixed by #8653
Closed

Research the possibility of moving the CI setup to Github Actions. #8652

jansiegel opened this issue Aug 19, 2021 · 1 comment · Fixed by #8653

Comments

@jansiegel
Copy link
Member

Description

We should check if moving our current CI setup to Github Actions is feasible and beneficial (time- and cost-wise).

@jansiegel jansiegel self-assigned this Aug 19, 2021
jansiegel added a commit that referenced this issue Sep 20, 2021
jansiegel added a commit that referenced this issue Sep 20, 2021
jansiegel added a commit that referenced this issue Sep 21, 2021
- Correct typo in the testing workflow
 #8652
jansiegel added a commit that referenced this issue Sep 22, 2021
- Remove the 'skip-all' logic, as it's no longer needed
- Replace the codeship badge with the GHA badge in README
 #8652
jansiegel added a commit that referenced this issue Sep 23, 2021
- Movie the unit tests to be run alongside the HOT build
 #8652
jansiegel added a commit that referenced this issue Sep 24, 2021
…whitelist

- Move the unit testing to be run without waiting on the HOT build
 #8652
jansiegel added a commit that referenced this issue Sep 24, 2021
jansiegel added a commit that referenced this issue Sep 24, 2021
…e wrappers. (#8653)

* Add a test workflow and some required/test changes.

* Extend the handsontable-related paths in the testing workflow. #8652

* - Add test paths to the test workflow whitelist. #8652

* - Add tests' script path to test workflow's whitelist. #8652

* - Add the e2e test paths + tests' script path to the test workflow's whitelist for the UMD build. #8652

* Add a changelog entry for #8652.

* - Remove two triggers from the testing workflow
- Correct typo in the testing workflow
 #8652

* - Apply post-CR suggestions
- Remove the 'skip-all' logic, as it's no longer needed
- Replace the codeship badge with the GHA badge in README
 #8652

* - Add 'opened' and 'reopened' to the pull_request triggers.

* - Rearrange the 'path-filter' config and fix post CR-issues
- Movie the unit tests to be run alongside the HOT build
 #8652

* - Add 'babel.config.js' and 'hot.config.js' to the config files path whitelist
- Move the unit testing to be run without waiting on the HOT build
 #8652

* Change the node version to 15.x #8652

* - Cleanup after previous changes
@jansiegel
Copy link
Member Author

jansiegel commented Sep 24, 2021

Summary notes

  • After merging Create an GH Actions workflow covering testing of Handsontable and the wrappers. #8653 to the develop branch, all the tests are being run by the Github Actions environment, and are marked as required.

  • Before this, all the tests were run on Codeship, and because of the inability to precisely determine the merge base of the pull requests (without using the Github API), the "targeted testing" script was replaced with a setup that triggered all tests (UMD + UMD.min + Unit + Types + wrappers), split between 2 pipelines.

  • After the change, the workflow responsible for triggering the tests recognizes what files were modified in a pull request, and determines which tests should be triggered based on their paths.

  • All of the test/build scenarios that are independent from anothers are being performed in parallel:
    image

  • The testing workflow is triggered by:

    • The push event for the following branches:
      • master
      • develop
      • release/**
    • The pull_request event for every other branch.
    • After the changes are merged to master (with the next release), it will be possible to trigger the workflow manually.
  • As for the difference in the duration of the tests, it's difficult to calculate the exact time saved by this PR, but in the case of the 049af94 commit:

  • The Codeship integration was marked as suspended, and if the new setup works alright, will be removed in the nearest future.

cc: @krzysztofspilka @wojciechczerniak

jansiegel added a commit that referenced this issue Sep 28, 2021
…e wrappers. (#8653)

* Add a test workflow and some required/test changes.

* Extend the handsontable-related paths in the testing workflow. #8652

* - Add test paths to the test workflow whitelist. #8652

* - Add tests' script path to test workflow's whitelist. #8652

* - Add the e2e test paths + tests' script path to the test workflow's whitelist for the UMD build. #8652

* Add a changelog entry for #8652.

* - Remove two triggers from the testing workflow
- Correct typo in the testing workflow
 #8652

* - Apply post-CR suggestions
- Remove the 'skip-all' logic, as it's no longer needed
- Replace the codeship badge with the GHA badge in README
 #8652

* - Add 'opened' and 'reopened' to the pull_request triggers.

* - Rearrange the 'path-filter' config and fix post CR-issues
- Movie the unit tests to be run alongside the HOT build
 #8652

* - Add 'babel.config.js' and 'hot.config.js' to the config files path whitelist
- Move the unit testing to be run without waiting on the HOT build
 #8652

* Change the node version to 15.x #8652

* - Cleanup after previous changes
jansiegel added a commit that referenced this issue Oct 6, 2021
…e wrappers. (#8653)

* Add a test workflow and some required/test changes.

* Extend the handsontable-related paths in the testing workflow. #8652

* - Add test paths to the test workflow whitelist. #8652

* - Add tests' script path to test workflow's whitelist. #8652

* - Add the e2e test paths + tests' script path to the test workflow's whitelist for the UMD build. #8652

* Add a changelog entry for #8652.

* - Remove two triggers from the testing workflow
- Correct typo in the testing workflow
 #8652

* - Apply post-CR suggestions
- Remove the 'skip-all' logic, as it's no longer needed
- Replace the codeship badge with the GHA badge in README
 #8652

* - Add 'opened' and 'reopened' to the pull_request triggers.

* - Rearrange the 'path-filter' config and fix post CR-issues
- Movie the unit tests to be run alongside the HOT build
 #8652

* - Add 'babel.config.js' and 'hot.config.js' to the config files path whitelist
- Move the unit testing to be run without waiting on the HOT build
 #8652

* Change the node version to 15.x #8652

* - Cleanup after previous changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants