Skip to content
Snippets Groups Projects
Commit c7b7412d authored by Yusuf Akgül's avatar Yusuf Akgül :hatching_chick:
Browse files

Merge branch 'main' of gitlab.bht-berlin.de:s86116/project_ss23 into emailVerify

parents 28159115 73ac2152
No related branches found
No related tags found
1 merge request!45Email verify
Pipeline #39325 passed
...@@ -34,16 +34,18 @@ build-job: # This job runs in the build stage, which runs first. ...@@ -34,16 +34,18 @@ build-job: # This job runs in the build stage, which runs first.
unit-test-job: # This job runs in the test stage. unit-test-job: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully. stage: test # It only starts when the job in the build stage completes successfully.
script: script:
- echo "Running unit tests... This will take about 10 seconds." - echo "Running unit tests..."
- npm install
- npm run test - npm run test
- echo "Code coverage is 90%" - echo "Done testing."
lint-test-job: # This job also runs in the test stage. lint-test-job: # This job also runs in the test stage.
stage: test # It can run at the same time as unit-test-job (in parallel). stage: test # It can run at the same time as unit-test-job (in parallel).
script: script:
- echo "Linting code... This will take about 10 seconds." - echo "Linting code... This will take about 10 seconds."
- npm install
- npm run lint - npm run lint
- echo "No lint issues found." - echo "Done linting."
deploy-job: # This job runs in the deploy stage. deploy-job: # This job runs in the deploy stage.
stage: deploy # It only runs when *both* jobs in the test stage complete successfully. stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment