Test the release, don't ignore test return code

This commit is contained in:
Paul Schneider 2026-09-11 13:25:32 +01:00
commit c665a3e95d
Signed by: notazof
GPG key ID: 1DD5D838E5343B06
2 changed files with 8 additions and 1 deletions

View file

@ -52,4 +52,4 @@ jobs:
--verbosity normal \
--filter="Category!=Platform-Android" \
--logger "xunit;LogFileName=test-results.xml" \
&& echo "✅ Success !" || echo "❌ Fail ($?)!"
&& echo "✅ Success !" || { echo "❌ Fail ($?)!"; exit 1; }

View file

@ -175,6 +175,12 @@ jobs:
run: |
cd /src/_src
dotnet restore
- name: Test
run: |
cd /src/_src && dotnet test \
--verbosity normal \
--filter="Category!=Platform-Android" \
--logger "xunit;LogFileName=test-results.xml"
- name: Build de PostIt.Android ARM64
run: |
@ -200,6 +206,7 @@ jobs:
RELEASE_BODY: ${{ env.RELEASE_BODY }}
IS_PRERELEASE: ${{ env.IS_PRERELEASE }}
run: |
set -e
if [[ -z "$TAG" ]]; then
echo "::error::No tag resolved for the API call."
exit 1