Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.learn.em
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.learn.em
Commits
5d24bb06
Commit
5d24bb06
authored
2 years ago
by
Yannick DAYER
Browse files
Options
Downloads
Plain Diff
Merge branch 'gitlab-test' into 'master'
Create an xml test report for Gitlab Tests See merge request
!64
parents
d099a547
a0664a6e
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!64
Create an xml test report for Gitlab Tests
Pipeline
#64365
passed
2 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
conda/meta.yaml
+3
-2
3 additions, 2 deletions
conda/meta.yaml
with
3 additions
and
2 deletions
conda/meta.yaml
+
3
−
2
View file @
5d24bb06
...
...
@@ -48,8 +48,9 @@ test:
-
{{
name
}}
commands
:
# runs tests for package only, report only what is in the package
# creates html and xml reports and place them in specific directories
-
pytest --verbose --cov {{ name }} --cov-report term-missing --cov-report html:{{ project_dir }}/sphinx/coverage --cov-report xml:{{ project_dir }}/coverage.xml --pyargs {{ name }}
# creates xml tests report and place it in a specific directory
# creates html and xml coverage reports and place them in a specific directory
-
pytest --verbose --cov {{ name }} --cov-report term-missing --cov-report html:{{ project_dir }}/sphinx/coverage --cov-report xml:{{ project_dir }}/coverage.xml --junitxml={{ project_dir }}/test_results.xml --pyargs {{ name }}
-
sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx
-
sphinx-build -aEb doctest {{ project_dir }}/doc sphinx
-
conda inspect linkages -p $PREFIX {{ name }}
# [not win]
...
...
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