Skip to content
Snippets Groups Projects
Commit 01f55162 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Add pip

parent 19bd3083
No related branches found
No related tags found
No related merge requests found
...@@ -21,13 +21,16 @@ image: ubuntu:jammy ...@@ -21,13 +21,16 @@ image: ubuntu:jammy
code_quality: code_quality:
stage: test stage: test
allow_failure: true
needs: []
dependencies: []
only: only:
- main - main
- merge_requests - merge_requests
tags: tags:
- docker - docker
script: script:
- DEBIAN_FRONTEND=noninteractive apt update && apt install -y python3 cppcheck - DEBIAN_FRONTEND=noninteractive apt update && apt install -y python3 python3-pip cppcheck
- python3 -m pip install -U cppcheck_codequality - python3 -m pip install -U cppcheck_codequality
- cppcheck --xml --enable=warning,style,performance --std=c++14 --suppress=*:*catch.hpp --suppress=*:*json.hpp ./ 2> cppcheck_out.xml - cppcheck --xml --enable=warning,style,performance --std=c++14 --suppress=*:*catch.hpp --suppress=*:*json.hpp ./ 2> cppcheck_out.xml
- cppcheck-codequality --input-file=cppcheck_out.xml --output-file=cppcheck.json - cppcheck-codequality --input-file=cppcheck_out.xml --output-file=cppcheck.json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment