From 18d5118b43c315341aa04e02da889e7c4fe66ea3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Wei=C3=9F?= <72068105+Sandoun@users.noreply.github.com> Date: Mon, 13 Nov 2023 12:27:15 +0100 Subject: [PATCH] Update test-pipeline.yml --- .github/workflows/test-pipeline.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test-pipeline.yml b/.github/workflows/test-pipeline.yml index cb05445..ae81524 100644 --- a/.github/workflows/test-pipeline.yml +++ b/.github/workflows/test-pipeline.yml @@ -22,6 +22,13 @@ jobs: name: 'Run tests and documentation' runs-on: self-hosted steps: + + - name: 'Setup dotnet' + uses: actions/setup-dotnet@v2 + with: + dotnet-version: | + 6.0.x + 7.0.x - name: 'Checkout' uses: actions/checkout@v3 @@ -31,13 +38,6 @@ jobs: run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT id: extract_branch - #- name: 'Setup dotnet' - # uses: actions/setup-dotnet@v2 - # with: - # dotnet-version: | - # 6.0.x - # 7.0.x - - name: 'Run tests' run: dotnet test "./MewtocolTests" /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=../Builds/TestResults/coverage.opencover.xml