This PR implements a fix for the pipeline. Sonarcloud analysis that is wrapped around build in test in analysis job prevents pipeline from falling even if build or tests fail.
To fix this I decided to duplicate the build and tests into a separate job that will be run in parallel with analysis. This will result in failure of the workflow if build or tests fail but it won't run increase time of the whole workflow.
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Refactoring (non-breaking change to code and structure)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Summary
This PR implements a fix for the pipeline. Sonarcloud analysis that is wrapped around build in test in analysis job prevents pipeline from falling even if build or tests fail.
To fix this I decided to duplicate the build and tests into a separate job that will be run in parallel with analysis. This will result in failure of the workflow if build or tests fail but it won't run increase time of the whole workflow.
Types of changes
Testing
N/A
Notes
N/A