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

refactor: optimize test env and groups tests #1007

Merged
merged 53 commits into from
Feb 14, 2024
Merged

Conversation

kirrg001
Copy link
Contributor

@kirrg001 kirrg001 commented Jan 17, 2024

refs 147561

Advantages:

  • all tests run on one machine - we are no longer dependent of having to start multiple instances to achieve 10min test run

  • tests are stopped as soon as one group fails

  • we can skip certain groups if a PR only has touched a certain area e.g. skip frameworks if PR only touched the database area

  • global solution for other build CI tools such as GH actions and Tekton

  • tidy up the test env

  • fix skipping groups

  • enable skipped tests

  • reduce aws lambda runtime

  • reduce aws v3 runtime

  • other node.js versions

  • esm build

  • refactor ProcessControls to be used in the before - it slows down the run so much!!!!

  • coverage build

  • fix mocha reporters

  • reduce flaky tests

Rules

  • only run test groups based on file changes on pull requests and on main by default
  • run night builds for all tests and all node.js versions

@kirrg001 kirrg001 force-pushed the experimental/tasks-ci branch 29 times, most recently from d1fec79 to ecfdb0c Compare January 21, 2024 10:39
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
@kirrg001 kirrg001 marked this pull request as ready for review February 14, 2024 09:47
@kirrg001 kirrg001 requested a review from a team as a code owner February 14, 2024 09:47
@kirrg001 kirrg001 changed the title refactor: groups tests and execute differently refactor: optimize test env and groups tests Feb 14, 2024
[ci skip]
@kirrg001 kirrg001 merged commit d1b3895 into main Feb 14, 2024
1 check passed
@kirrg001 kirrg001 deleted the experimental/tasks-ci branch February 14, 2024 10:08
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