Enforce tests execute ok (#165)

This commit is contained in:
Fredrik Skold
2020-07-01 12:36:45 +02:00
committed by Stefan Wahren
parent 2d09cfc41d
commit 69019312c9
3 changed files with 41 additions and 1 deletions

View File

@ -12,7 +12,11 @@ jobs:
run: rm -rf build || true && mkdir build && cd build && cmake .. -DLIBMBUS_BUILD_EXAMPLES=ON -DLIBMBUS_BUILD_TESTS=ON -DLIBMBUS_ENABLE_COVERAGE=ON && cmake --build . -j && cd ..
- name: generate test frames
run: ./test/generate-xml.sh test/test-frames
run: |
./test/generate-xml.sh test/test-frames
echo "NOTE: error-frames have about 30 parse errors, and unsupported-frames have 12"
./test/generate-xml.sh test/error-frames || true
./test/generate-xml.sh test/unsupported-frames || true
- name: install and run gcovr
run: sudo pip install gcovr && gcovr build/.