Skip to content

Commit

Permalink
Update test-pipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandoun authored Nov 13, 2023
1 parent 9ca31fe commit 48b04df
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/test-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ jobs:
name: 'Run tests and documentation'
runs-on: self-hosted
steps:

- name: 'Clean workspace'
run: |
rm -rf ${{ github.workspace }}/*

- name: 'Checkout'
uses: actions/checkout@v3
Expand All @@ -35,12 +31,12 @@ 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: '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
Expand Down

0 comments on commit 48b04df

Please sign in to comment.