From e2c228a274b53801451e39eb1b3eef0f2d48691b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amaury=20Lev=C3=A9?= Date: Mon, 3 Feb 2025 10:54:14 +0100 Subject: [PATCH] Add coverage + trx --- OAT.Tests/OAT.Tests.csproj | 6 ++++-- Pipelines/oat-pr.yml | 1 + Pipelines/oat-release.yml | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/OAT.Tests/OAT.Tests.csproj b/OAT.Tests/OAT.Tests.csproj index 3a299ac5..89f3d240 100644 --- a/OAT.Tests/OAT.Tests.csproj +++ b/OAT.Tests/OAT.Tests.csproj @@ -2,7 +2,7 @@ net8.0;net48;net9.0 - Exe + Exe false Microsoft.CST.OAT.Tests @@ -11,7 +11,9 @@ - + + + diff --git a/Pipelines/oat-pr.yml b/Pipelines/oat-pr.yml index a2278874..b17c510d 100644 --- a/Pipelines/oat-pr.yml +++ b/Pipelines/oat-pr.yml @@ -50,6 +50,7 @@ extends: poolImage: MSSecurity-1ES-Ubuntu-2204 poolOs: linux projectPath: 'OAT.Tests/OAT.Tests.csproj' + dotnetTestArgs: '-- --coverage --report-trx' - stage: Build dependsOn: diff --git a/Pipelines/oat-release.yml b/Pipelines/oat-release.yml index 906a5265..370d2691 100644 --- a/Pipelines/oat-release.yml +++ b/Pipelines/oat-release.yml @@ -49,6 +49,7 @@ extends: poolImage: MSSecurity-1ES-Ubuntu-2204 poolOs: linux projectPath: 'OAT.Tests/OAT.Tests.csproj' + dotnetTestArgs: '-- --coverage --report-trx' - stage: Build dependsOn: