File tree 1 file changed +32
-0
lines changed
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Default
2
+ on :
3
+ push :
4
+ schedule :
5
+ - cron : ' 0 1 * * 6'
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : windows-2019
10
+ steps :
11
+ - uses : nuget/setup-nuget@v1
12
+ -
uses :
microsoft/[email protected]
13
+ - uses : actions/checkout@v2
14
+ with :
15
+ fetch-depth : 50
16
+ - name : Setup
17
+ run : |
18
+ Invoke-WebRequest https://testspace-client.s3.amazonaws.com/testspace-windows.zip -outfile testspace-windows.zip
19
+ Expand-Archive -LiteralPath testspace-windows.zip -DestinationPath testspace
20
+ .\testspace config url samples.testspace.com
21
+ .\testspace -v
22
+ - name : Build
23
+ run : |
24
+ nuget restore money/cs-money.sln
25
+ msbuild money/cs-money.csproj /p:Configuration=Debug /p:runCodeAnalysis=true /p:codeanalysislogfile=..\analysis.xml
26
+ - name : Test
27
+ run : |
28
+ .\money\packages\OpenCover.4.6.519\tools\OpenCover.Console -target:".\money\packages\NUnit.ConsoleRunner.3.4.1\tools\nunit3-console.exe" -targetargs:"money\bin\Debug\cs-money.dll" -output:"coverage.xml" -filter:"+[*]* -[*]*MoneyTest*" -register:user
29
+ - name : Push
30
+ run : |
31
+ testspace analysis.xml [Tests]TestResult.xml coverage.xml
32
+ if : always()
You can’t perform that action at this time.
0 commit comments