Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CaosDB Octave library
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
caosdb
Software
CaosDB Octave library
Commits
95e1c979
Verified
Commit
95e1c979
authored
3 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
TST: check code style in pipeline
parent
43cf1ef7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#10558
failed
3 years ago
Stage: setup
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+10
-1
10 additions, 1 deletion
.gitlab-ci.yml
with
10 additions
and
1 deletion
.gitlab-ci.yml
+
10
−
1
View file @
95e1c979
...
...
@@ -55,7 +55,7 @@ build-testenv:
# Formatting with miss_hit
code_style
:
code_style
_octave
:
tags
:
[
docker
]
stage
:
test
script
:
...
...
@@ -63,6 +63,13 @@ code_style:
-
mh_style --octave ./src ./doc
allow_failure
:
true
code_style_cpp
:
tags
:
[
docker
]
stage
:
test
script
:
-
clang-format-11 --dry-run --verbose --Werror $(find test/ src/ -type f -iname "*.cpp" -o -iname "*.h" -o -iname "*.h.in")
allow_failure
:
true
# Unit tests
test
:
tags
:
[
docker
]
...
...
@@ -71,12 +78,14 @@ test:
-
octave -v
-
make test
# Linting with miss_hit
linting_octave
:
tags
:
[
docker
]
stage
:
test
script
:
-
mh_lint --octave ./
# linting with clang-tidy and include-what-you-use
linting_cpp
:
tags
:
[
docker
]
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