how to set automation trigger when my front-end and back-end repo have codecommit? #3685
-
I have three repo 1: front-end code 2: back-end code 3: codeceptjs and locust (for automation testing) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This question is not related to the Codecept js framework, but here's where you need to move:
If you do decide to do it on the CI/CD side, here's what you need to learn depending on the CI/CD system itself on your project:
|
Beta Was this translation helpful? Give feedback.
This question is not related to the Codecept js framework, but here's where you need to move:
You need to build a ci/cd pipeline of projects so that you can listen to the FE/BE repositories and build the FE/BE on push/PR creation, clone out your auto-test framework and run tests.
Or you can do this on
pre-commit
and run tests locally (see husky), but the process of developers committing to the project slows down so much that developers will just start skipping this step.If you do decide to do it on the CI/CD side, here's what you need to learn depending on the CI/CD system itself on your project:
Jenkins Pipeline: You can set up Jenkins to automatically run the pipeline when you …