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
Commits
cdd2e461
Commit
cdd2e461
authored
10 months ago
by
Sam Kagan
Browse files
Options
Downloads
Patches
Plain Diff
Added test reports to package-build CI jobs
parent
78d20f2b
No related branches found
No related tags found
2 merge requests
!1706
merge 2.8.4 to main
,
!1649
Show unit test reports in Gitlab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ci/package-build.template.yml
+7
-1
7 additions, 1 deletion
ci/package-build.template.yml
with
7 additions
and
1 deletion
ci/package-build.template.yml
+
7
−
1
View file @
cdd2e461
...
...
@@ -21,7 +21,7 @@
# Install the packages for testing
-
poetry install --with test
-
$(poetry env info -p)/bin/pytest .
-
$(poetry env info -p)/bin/pytest
--junitxml=tests.xml
.
# once tests pass, look to see if there is a conflicting version in pypi registry
-
PACKAGE_NAME=$(basename $PWD)
...
...
@@ -47,6 +47,12 @@
# Return to the parent directory
-
cd $WD
artifacts
:
paths
:
-
tests.xml
reports
:
junit
:
-
tests.xml
rules
:
-
changes
:
-
${PACKAGE_PATH}/**/*
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