EVerest / libevse-security

Apache License 2.0
7 stars 5 forks source link

CI/CD Report which test failed #45

Closed AssemblyJohn closed 4 months ago

AssemblyJohn commented 7 months ago

At the moment there is no detailed report on which test from within a testcase file has failed. Logs would be required to identify the specific test.

andistorm commented 7 months ago

An example can be found here: https://github.com/EVerest/libevse-security/actions/runs/7887550157/job/21523045379

Probably the reason for this issue is the structure of this script: https://github.com/EVerest/libevse-security/blob/main/.ci/build-kit/install_and_test.sh

If it fails in executing the tests it doesn't run the cp command

I will have look on it.

AssemblyJohn commented 7 months ago

Understood, it would be best to exec the CP regardless. Or maybe pre-create the file and make the test echo all it's output there so that if it is interrupted the current state is not lost.

AssemblyJohn commented 4 months ago

Closed with: https://github.com/EVerest/libevse-security/pull/69