From c1662554a50422302baaec5e1d426e2f4ed30e16 Mon Sep 17 00:00:00 2001 From: Daniel Cazzulino Date: Thu, 4 Jul 2024 02:38:03 -0300 Subject: [PATCH] Use the more common pattern for trx in CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit That would be to run on a step always even if tests fail: ``` - name: 🧪 show if: always() run: dotnet run --no-build --project ./src/dotnet-trx/ --output ``` --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f3514c6..67c2e22 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -69,8 +69,12 @@ jobs: echo 'export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"' >> .bash_profile - name: 🧪 test - run: | - dotnet test -l trx src/Demo/ -v:q || echo Nevermind! + # NOTE: we don't really want to fail since this just emits the trx. ' + run: dotnet test -l trx src/Demo/ -v:q || echo Nevermind! + + - name: 🧪 show + if: always() + run: dotnet run --no-build --project ./src/dotnet-trx/ --output - name: 🐛 logs