Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
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
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Merge requests
!1614
PIPELINE TESTING: Playing with shared/workspaces testing
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
PIPELINE TESTING: Playing with shared/workspaces testing
playing-with-shared-testing
into
2.8.4-DEVELOPMENT
Overview
6
Commits
56
Pipelines
40
Changes
82
1 unresolved thread
Hide all comments
Merged
Charlotte Hausman
requested to merge
playing-with-shared-testing
into
2.8.4-DEVELOPMENT
1 year ago
Overview
6
Commits
56
Pipelines
40
Changes
5
1 unresolved thread
Hide all comments
Expand
0
0
Merge request reports
Compare
version 31
version 40
141384b9
9 months ago
version 39
0108f2d8
9 months ago
version 38
49f507b8
9 months ago
version 37
d440c454
9 months ago
version 36
ae163aad
9 months ago
version 35
0f0a8f42
9 months ago
version 34
27e1bf4b
9 months ago
version 33
c9475223
9 months ago
version 32
df37f093
9 months ago
version 31
34d73c00
9 months ago
version 30
e075b3f2
9 months ago
version 29
e136a565
9 months ago
version 28
ff3444e3
9 months ago
version 27
7e3f14c5
9 months ago
version 26
f17f94d9
9 months ago
version 25
081bc9f8
9 months ago
version 24
02142520
9 months ago
version 23
0672a859
9 months ago
version 22
f33378f1
9 months ago
version 21
46e233a7
9 months ago
version 20
18886353
9 months ago
version 19
75cce25d
9 months ago
version 18
3795631e
9 months ago
version 17
33df9529
9 months ago
version 16
20d8bc49
9 months ago
version 15
a4c2c4b0
9 months ago
version 14
9d3eba46
9 months ago
version 13
9d3eba46
11 months ago
version 12
9d3eba46
1 year ago
version 11
9d3eba46
1 year ago
version 10
0c92b48d
1 year ago
version 9
0f7780bd
1 year ago
version 8
3294e2a3
1 year ago
version 7
e9b453d0
1 year ago
version 6
b5e28545
1 year ago
version 5
9b445af6
1 year ago
version 4
7a33adba
1 year ago
version 3
97b76f31
1 year ago
version 2
0502d813
1 year ago
version 1
ad611e1e
1 year ago
2.8.4-DEVELOPMENT (base)
and
version 32
latest version
8e3ec187
56 commits,
9 months ago
version 40
141384b9
55 commits,
9 months ago
version 39
0108f2d8
54 commits,
9 months ago
version 38
49f507b8
53 commits,
9 months ago
version 37
d440c454
52 commits,
9 months ago
version 36
ae163aad
51 commits,
9 months ago
version 35
0f0a8f42
50 commits,
9 months ago
version 34
27e1bf4b
49 commits,
9 months ago
version 33
c9475223
48 commits,
9 months ago
version 32
df37f093
47 commits,
9 months ago
version 31
34d73c00
46 commits,
9 months ago
version 30
e075b3f2
45 commits,
9 months ago
version 29
e136a565
44 commits,
9 months ago
version 28
ff3444e3
43 commits,
9 months ago
version 27
7e3f14c5
42 commits,
9 months ago
version 26
f17f94d9
41 commits,
9 months ago
version 25
081bc9f8
40 commits,
9 months ago
version 24
02142520
39 commits,
9 months ago
version 23
0672a859
38 commits,
9 months ago
version 22
f33378f1
37 commits,
9 months ago
version 21
46e233a7
36 commits,
9 months ago
version 20
18886353
34 commits,
9 months ago
version 19
75cce25d
33 commits,
9 months ago
version 18
3795631e
32 commits,
9 months ago
version 17
33df9529
31 commits,
9 months ago
version 16
20d8bc49
30 commits,
9 months ago
version 15
a4c2c4b0
29 commits,
9 months ago
version 14
9d3eba46
19 commits,
9 months ago
version 13
9d3eba46
12 commits,
11 months ago
version 12
9d3eba46
12 commits,
1 year ago
version 11
9d3eba46
19 commits,
1 year ago
version 10
0c92b48d
18 commits,
1 year ago
version 9
0f7780bd
17 commits,
1 year ago
version 8
3294e2a3
16 commits,
1 year ago
version 7
e9b453d0
15 commits,
1 year ago
version 6
b5e28545
14 commits,
1 year ago
version 5
9b445af6
13 commits,
1 year ago
version 4
7a33adba
12 commits,
1 year ago
version 3
97b76f31
11 commits,
1 year ago
version 2
0502d813
10 commits,
1 year ago
version 1
ad611e1e
9 commits,
1 year ago
Show latest version
5 files
+
17
−
35
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
ci/unit-test.template.yml
+
8
−
4
Options
@@ -5,10 +5,14 @@
-
cd ${PATH_PREFIX}${SERVICE_NAME}
# use the poetry virtual environment and packages
-
poetry install --with test
-
pwd
-
$(poetry env info -p)/bin/pytest . --junitxml=tests-service.xml --cov=${SERVICE_NAME} --cov-report=
-
$(poetry env info -p)/bin/pytest ../../${TEST_PREFIX2}${SERVICE_NAME} --junitxml=tests-shared.xml --cov=../../${PATH_PREFIX2}${SERVICE_NAME} --cov-append --cov-report=
-
$(poetry env info -p)/bin/junitparser merge tests-service.xml tests-shared.xml tests.xml
-
|
if [ -z "${PATH_PREFIX2+x}" ]; then
$(poetry env info -p)/bin/pytest . --junitxml=tests.xml --cov=${SERVICE_NAME} --cov-report=
else
$(poetry env info -p)/bin/pytest . --junitxml=tests-service.xml --cov=${SERVICE_NAME} --cov-report=
$(poetry env info -p)/bin/pytest ../../${TEST_PREFIX2}${SERVICE_NAME} --junitxml=tests-shared.xml --cov=../../${PATH_PREFIX2}${SERVICE_NAME} --cov-append --cov-report=
$(poetry env info -p)/bin/junitparser merge tests-service.xml tests-shared.xml tests.xml
fi
-
mv ./.coverage ${CI_PROJECT_DIR}/.coverage.${SERVICE_NAME}.${CI_COMMIT_SHORT_SHA}
-
mv ./tests.xml ${CI_PROJECT_DIR}/tests.${SERVICE_NAME}.${CI_COMMIT_SHORT_SHA}.xml
artifacts
:
Loading