Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
project_ss23_gameunity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Yusuf Akgül
project_ss23_gameunity
Commits
c7b7412d
Commit
c7b7412d
authored
1 year ago
by
Yusuf Akgül
Browse files
Options
Downloads
Plain Diff
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
!45
Email verify
Pipeline
#39325
passed
1 year ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+5
-3
5 additions, 3 deletions
.gitlab-ci.yml
with
5 additions
and
3 deletions
.gitlab-ci.yml
+
5
−
3
View file @
c7b7412d
...
...
@@ -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.
stage
:
test
# It only starts when the job in the build stage completes successfully.
script
:
-
echo "Running unit tests... This will take about 10 seconds."
-
echo "Running unit tests..."
-
npm install
-
npm run test
-
echo "
Code coverage is 90%
"
-
echo "
Done testing.
"
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).
script
:
-
echo "Linting code... This will take about 10 seconds."
-
npm install
-
npm run lint
-
echo "
No
lint
issues found
."
-
echo "
Done
lint
ing
."
deploy-job
:
# This job runs in the deploy stage.
stage
:
deploy
# It only runs when *both* jobs in the test stage complete successfully.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment