From b9ae18d3897c31691839f8341f3c57788979eaea Mon Sep 17 00:00:00 2001 From: Davide Bellone Date: Mon, 15 Jan 2024 11:59:16 +0100 Subject: [PATCH] Created test step --- .github/workflows/build.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b95267b..b687acb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -87,9 +87,14 @@ jobs: run: dotnet build ${{ env.ADR_PROJECT_FILE}} --runtime ${{ env.WINDOWS_RUNTIME }} --configuration ${{ env.CONFIGURATION }} -p:Version=${{ steps.gitversion.outputs.nuGetVersionV2 }} working-directory: ./src/cli - - name: Test - run: dotnet test --runtime ${{ env.WINDOWS_RUNTIME}} --verbosity normal - working-directory: ./src/tests + run-tests: + name: Run tests + needs: build + runs-on: ubuntu-latest + steps: + - name: Test + run: dotnet test --runtime ${{ env.WINDOWS_RUNTIME}} --verbosity normal + working-directory: ./tests # publish_windows: # name: Publish Windows package