mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
Update test-pipeline.yml
This commit is contained in:
16
.github/workflows/test-pipeline.yml
vendored
16
.github/workflows/test-pipeline.yml
vendored
@@ -23,10 +23,6 @@ jobs:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
|
||||
- name: 'Clean workspace'
|
||||
run: |
|
||||
rm -rf ${{ github.workspace }}/*
|
||||
|
||||
- name: 'Checkout'
|
||||
uses: actions/checkout@v3
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user