Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
imageName: ghcr.io/${{ env.DEV_CONTAINER_IMAGE }}
cacheFrom: ghcr.io/${{ env.DEV_CONTAINER_IMAGE }}
runCmd: |
# stop on the first failed command, otherwise the step result depends only on the last command
# and coverage will be calculated even if the build or the tests failed
set -e

# first we build in Debug, then we re-use dlls using --no-build flag here and later
dotnet build

Expand All @@ -48,6 +52,8 @@ jobs:
with:
cacheFrom: ghcr.io/${{ env.DEV_CONTAINER_IMAGE }}
runCmd: |
set -e

# we need to run our Api and proceed to the next step
# that is why we forward its output and start it in background with & at the end
dotnet-coverage collect \
Expand All @@ -64,6 +70,8 @@ jobs:
with:
cacheFrom: ghcr.io/${{ env.DEV_CONTAINER_IMAGE }}
runCmd: |
set -e

java -jar /karate.jar .

dotnet-coverage shutdown calculate-e2e-coverage-session
Expand Down