Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
grady
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
Show more breadcrumbs
Jan Maximilian Michal
grady
Commits
556bf7b3
Commit
556bf7b3
authored
6 years ago
by
Dominik Seeger
Committed by
robinwilliam.hundt
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
added stage for frontend unit tests
parent
6f6883d0
No related branches found
No related tags found
1 merge request
!128
Merge improve testing
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+12
-0
12 additions, 0 deletions
.gitlab-ci.yml
with
12 additions
and
0 deletions
.gitlab-ci.yml
+
12
−
0
View file @
556bf7b3
...
@@ -39,6 +39,7 @@ build_frontend:
...
@@ -39,6 +39,7 @@ build_frontend:
artifacts
:
artifacts
:
paths
:
paths
:
-
frontend/dist
-
frontend/dist
-
frontend/node_modules/
expire_in
:
20 minutes
expire_in
:
20 minutes
cache
:
cache
:
key
:
"
$CI_JOB_NAME"
key
:
"
$CI_JOB_NAME"
...
@@ -102,6 +103,17 @@ test_frontend:
...
@@ -102,6 +103,17 @@ test_frontend:
-
python manage.py collectstatic --no-input
-
python manage.py collectstatic --no-input
-
HEADLESS_TESTS=True pytest --ds=grady.settings.test functional_tests
-
HEADLESS_TESTS=True pytest --ds=grady.settings.test functional_tests
test_frontend_unit
:
image
:
node:carbon
stage
:
test
dependencies
:
-
build_frontend
tags
:
-
docker
script
:
-
cd frontend/
-
yarn test:unit
# =========================== Build Image section ============================ #
# =========================== Build Image section ============================ #
build_backend
:
build_backend
:
...
...
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