Skip to content

Build

Build #228

Workflow file for this run

name: Build
on:
push:
schedule:
- cron: '0 1 * * 6'
jobs:
build:
runs-on: windows-2019
steps:
- uses: nuget/setup-nuget@v2
- uses: microsoft/setup-msbuild@v2
- uses: actions/checkout@v4
- uses: testspace-com/setup-testspace@v1
with:
domain: samples
- name: Build
run: |
nuget restore money/cs-money.sln
msbuild money/cs-money.csproj /p:Configuration=Debug /p:runCodeAnalysis=true /p:codeanalysislogfile=..\analysis.xml
- name: Test
run: |
.\money\packages\OpenCover.4.7.1221\tools\OpenCover.Console -target:".\money\packages\NUnit.ConsoleRunner.3.16.3\tools\nunit3-console.exe" -targetargs:"money\bin\Debug\cs-money.dll" -output:"coverage.xml" -filter:"+[*]* -[*]*MoneyTest*" -register:user
- name: Push
run: |
testspace analysis.xml [Tests]TestResult.xml coverage.xml
if: always()