In Travis-CI, commands in the
after_success: step can fail but the build as a whole is still counted successful. In AppVeyor, I use:
cmake --build . --target test & exit 0
So that my tests can fail but the job is still successful.
How do you do this in GitHub Actions?