diff options
author | leaf corcoran <leafot@gmail.com> | 2019-09-22 10:49:17 -0700 |
---|---|---|
committer | leaf <leafot@gmail.com> | 2020-04-25 14:24:18 -0700 |
commit | fde219d00e6be5bce6f219d0620fe27c0d81ed87 (patch) | |
tree | 7e6901ebbc19bcb2261a9844860eb45276648398 | |
parent | 760db1bf7beac29f6fbf124e76d3eb630b544ce7 (diff) | |
download | lua-cjson-fde219d00e6be5bce6f219d0620fe27c0d81ed87.tar.gz lua-cjson-fde219d00e6be5bce6f219d0620fe27c0d81ed87.tar.bz2 lua-cjson-fde219d00e6be5bce6f219d0620fe27c0d81ed87.zip |
bring cppcheck back
-rw-r--r-- | .github/workflows/test.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4c3f64c..45c0c4e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml | |||
@@ -34,9 +34,12 @@ jobs: | |||
34 | - name: setup prove | 34 | - name: setup prove |
35 | run: | | 35 | run: | |
36 | make PREFIX=.lua ${{ matrix.runtestArgs }} | 36 | make PREFIX=.lua ${{ matrix.runtestArgs }} |
37 | sudo apt-get install valgrind libipc-run3-perl cppcheck cpanminus | 37 | sudo apt-get install -q valgrind libipc-run3-perl cppcheck cpanminus |
38 | sudo cpanm --notest Test::Base Test::LongString | 38 | sudo cpanm --notest Test::Base Test::LongString |
39 | 39 | ||
40 | - name: cppcheck | ||
41 | run: cppcheck -I .lua/include -i .lua/ -i .install/ --force --error-exitcode=1 --enable=warning . | ||
42 | |||
40 | - name: prove | 43 | - name: prove |
41 | run: LUA_BIN=lua prove -Itests tests | 44 | run: LUA_BIN=lua prove -Itests tests |
42 | 45 | ||