Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
aidge_core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Cyril Moineau
aidge_core
Commits
a8e32315
Commit
a8e32315
authored
1 year ago
by
Olivier BICHLER
Browse files
Options
Downloads
Patches
Plain Diff
Added test reports
parent
efb97bd2
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab/ci/test.gitlab-ci.yml
+10
-4
10 additions, 4 deletions
.gitlab/ci/test.gitlab-ci.yml
with
10 additions
and
4 deletions
.gitlab/ci/test.gitlab-ci.yml
+
10
−
4
View file @
a8e32315
...
...
@@ -5,7 +5,10 @@ test:ubuntu_cpp:
-
docker
script
:
-
cd build_cpp
-
ctest --output-on-failure
-
ctest --output-junit ctest-results.xml --output-on-failure
artifacts
:
reports
:
junit
:
ctest-results.xml
test:ubuntu_python
:
stage
:
test
...
...
@@ -15,7 +18,10 @@ test:ubuntu_python:
script
:
-
source venv/bin/activate
-
cd aidge_core
-
python3 -m pip install unittest-xml-reporting
-
python3 -m pip list
# Run on discovery all tests located in core/unit_tests/python and discard the stdout
# only to show the errors/warnings and the results of the tests
-
python3 -m unittest discover -s unit_tests/ -v -b 1> /dev/null
# Run on discovery all tests located in core/unit_tests/python
-
python3 -m xmlrunner discover -s unit_tests/ -v -b --output-file xmlrunner-results.xml
artifacts
:
reports
:
junit
:
xmlrunner-results.xml
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