Skip to content

Commit

Permalink
ci: Add codereport to clang-tidy job (#1306)
Browse files Browse the repository at this point in the history
Changes the job to run my HTML code report package, generate a report and upload it with the artifact.
  • Loading branch information
paulgessinger authored Jul 11, 2022
1 parent cc8f441 commit 8dfe466
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ clang_tidy:
- pip install -r CI/clang_tidy/requirements.txt
- CI/clang_tidy/parse_clang_tidy.py clang-tidy/clang-tidy.log clang-tidy/clang-tidy.json
- CI/clang_tidy/check_clang_tidy.py --report clang-tidy/clang-tidy.json --config CI/clang_tidy/limits.yml
- codereport clang-tidy/clang-tidy.json clang-tidy/html

build:
stage: build
Expand Down
1 change: 1 addition & 0 deletions CI/clang_tidy/requirements.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
PyYAML
rich
pydantic
codereport
23 changes: 22 additions & 1 deletion CI/clang_tidy/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,36 @@
#
# pip-compile CI/clang_tidy/requirements.in
#
appdirs==1.4.4
# via fs
codereport==0.3.0
# via -r CI/clang_tidy/requirements.in
commonmark==0.9.1
# via rich
fs==2.4.16
# via codereport
jinja2==3.1.2
# via codereport
markupsafe==2.1.1
# via jinja2
pydantic==1.9.0
# via -r CI/clang_tidy/requirements.in
pygments==2.11.2
# via rich
# via
# codereport
# rich
python-slugify==6.1.2
# via codereport
pyyaml==6.0
# via -r CI/clang_tidy/requirements.in
rich==12.2.0
# via -r CI/clang_tidy/requirements.in
six==1.16.0
# via fs
text-unidecode==1.3
# via python-slugify
typing-extensions==4.1.1
# via pydantic

# The following packages are considered to be unsafe in a requirements file:
# setuptools

0 comments on commit 8dfe466

Please sign in to comment.