Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
aidge_backend_cpu
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
Eclipse Projects
aidge
aidge_backend_cpu
Commits
739328d6
Commit
739328d6
authored
1 year ago
by
Olivier BICHLER
Browse files
Options
Downloads
Patches
Plain Diff
Fixed project name
parent
75db7a40
No related branches found
No related tags found
1 merge request
!3
Added coverage
Pipeline
#31155
passed
1 year ago
Stage: static_analysis
Stage: build
Stage: test
Stage: coverage
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab/ci/coverage.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab/ci/coverage.gitlab-ci.yml
.gitlab/ci/static_analysis.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab/ci/static_analysis.gitlab-ci.yml
.gitlab/ci/test.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab/ci/test.gitlab-ci.yml
with
6 additions
and
6 deletions
.gitlab/ci/coverage.gitlab-ci.yml
+
2
−
2
View file @
739328d6
...
@@ -27,7 +27,7 @@ coverage:ubuntu_python:
...
@@ -27,7 +27,7 @@ coverage:ubuntu_python:
script
:
script
:
-
source venv/bin/activate
-
source venv/bin/activate
-
python3 -m pip install numpy coverage
-
python3 -m pip install numpy coverage
-
cd $PROJECT_NAME
-
cd $
{CI_
PROJECT_NAME
}
-
python3 -m coverage run --source=. -m unittest discover -s unit_tests/ -v -b
-
python3 -m coverage run --source=. -m unittest discover -s unit_tests/ -v -b
-
python3 -m coverage report
-
python3 -m coverage report
-
python3 -m coverage xml
-
python3 -m coverage xml
...
@@ -36,4 +36,4 @@ coverage:ubuntu_python:
...
@@ -36,4 +36,4 @@ coverage:ubuntu_python:
reports
:
reports
:
coverage_report
:
coverage_report
:
coverage_format
:
cobertura
coverage_format
:
cobertura
path
:
$PROJECT_NAME/coverage.xml
path
:
$
{CI_
PROJECT_NAME
}
/coverage.xml
This diff is collapsed.
Click to expand it.
.gitlab/ci/static_analysis.gitlab-ci.yml
+
2
−
2
View file @
739328d6
...
@@ -26,8 +26,8 @@ static_analysis:python:
...
@@ -26,8 +26,8 @@ static_analysis:python:
script
:
script
:
-
pip install pylint
-
pip install pylint
-
pip install pylint-gitlab
-
pip install pylint-gitlab
-
pylint --rcfile=.pylintrc --exit-zero --output-format=pylint_gitlab.GitlabCodeClimateReporter $PROJECT_NAME/ > codeclimate.json
-
pylint --rcfile=.pylintrc --exit-zero --output-format=pylint_gitlab.GitlabCodeClimateReporter $
{CI_
PROJECT_NAME
}
/ > codeclimate.json
-
pylint --rcfile=.pylintrc --exit-zero --output-format=pylint_gitlab.GitlabPagesHtmlReporter $PROJECT_NAME/ > pylint.html
-
pylint --rcfile=.pylintrc --exit-zero --output-format=pylint_gitlab.GitlabPagesHtmlReporter $
{CI_
PROJECT_NAME
}
/ > pylint.html
-
mkdir -p public/python/$CI_COMMIT_REF_NAME
-
mkdir -p public/python/$CI_COMMIT_REF_NAME
-
mv pylint.html public/python/$CI_COMMIT_REF_NAME/
-
mv pylint.html public/python/$CI_COMMIT_REF_NAME/
artifacts
:
artifacts
:
...
...
This diff is collapsed.
Click to expand it.
.gitlab/ci/test.gitlab-ci.yml
+
2
−
2
View file @
739328d6
...
@@ -17,7 +17,7 @@ test:ubuntu_python:
...
@@ -17,7 +17,7 @@ test:ubuntu_python:
-
docker
-
docker
script
:
script
:
-
source venv/bin/activate
-
source venv/bin/activate
-
cd $PROJECT_NAME
-
cd $
{CI_
PROJECT_NAME
}
-
python3 -m pip install numpy unittest-xml-reporting
-
python3 -m pip install numpy unittest-xml-reporting
-
python3 -m pip list
-
python3 -m pip list
# Run on discovery all tests located in core/unit_tests/python and discard the stdout
# Run on discovery all tests located in core/unit_tests/python and discard the stdout
...
@@ -25,7 +25,7 @@ test:ubuntu_python:
...
@@ -25,7 +25,7 @@ test:ubuntu_python:
-
python3 -m xmlrunner discover -s unit_tests/ -v -b --output-file xmlrunner-results.xml
-
python3 -m xmlrunner discover -s unit_tests/ -v -b --output-file xmlrunner-results.xml
artifacts
:
artifacts
:
reports
:
reports
:
junit
:
$PROJECT_NAME/xmlrunner-results.xml
junit
:
$
{CI_
PROJECT_NAME
}
/xmlrunner-results.xml
test:windows_cpp
:
test:windows_cpp
:
stage
:
test
stage
:
test
...
...
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