Verified Commit 207f7f0a authored by Camil Staps's avatar Camil Staps 🚀

Add junit artifacts to CI for reports in merge requests

parent c705406c
Pipeline #28196 passed with stage
in 5 minutes and 14 seconds
......@@ -9,3 +9,4 @@
.sass-cache
BasicAPIExamples.icl
.ctest-results.json
*-junit.xml
......@@ -6,3 +6,8 @@ test:
- apt-get install -y -qq build-essential libsqlite3-dev libmariadbclient-dev-compat
script:
- bash ci-tests.bash
artifacts:
paths:
- Tests/Unit/*-junit.xml
reports:
junit: Tests/Unit/*-junit.xml
......@@ -33,5 +33,5 @@ find . -name "*.prj" -not -name "IncidoneCCC.prj" -not -name "examples.prj" -not
"cd {}; sed -i.bak 's/GenericFusion: False/GenericFusion: True/g' *.prj && cpm make"
#Run the unit tests
find Tests/Unit -name "*.prj.default" | sed "s/.prj.default//" | xargs -n 1 cleantest -f human -r
find Tests/Unit -name "*.prj.default" | sed "s/.prj.default//" | xargs -n 1 -I@ cleantest -f human --junit @-junit.xml -r @
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment