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
@@ -22,10 +22,6 @@ jobs:
|
|||||||
name: 'Run tests and documentation'
|
name: 'Run tests and documentation'
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: 'Clean workspace'
|
|
||||||
run: |
|
|
||||||
rm -rf ${{ github.workspace }}/*
|
|
||||||
|
|
||||||
- name: 'Checkout'
|
- name: 'Checkout'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -35,12 +31,12 @@ jobs:
|
|||||||
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
|
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
|
||||||
id: extract_branch
|
id: extract_branch
|
||||||
|
|
||||||
- name: 'Setup dotnet'
|
#- name: 'Setup dotnet'
|
||||||
uses: actions/setup-dotnet@v2
|
# uses: actions/setup-dotnet@v2
|
||||||
with:
|
# with:
|
||||||
dotnet-version: |
|
# dotnet-version: |
|
||||||
6.0.x
|
# 6.0.x
|
||||||
7.0.x
|
# 7.0.x
|
||||||
|
|
||||||
- name: 'Run tests'
|
- name: 'Run tests'
|
||||||
run: dotnet test "./MewtocolTests" /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=../Builds/TestResults/coverage.opencover.xml
|
run: dotnet test "./MewtocolTests" /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=../Builds/TestResults/coverage.opencover.xml
|
||||||
|
|||||||
Reference in New Issue
Block a user