try to fix the coverage

This commit is contained in:
Timothy Baldridge 2020-04-07 14:34:20 -06:00
parent fd350da6ee
commit 32d0752e3f
3 changed files with 1 additions and 35 deletions

View File

@ -1,16 +0,0 @@
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Wabbajack.BuildServer.Models
{
public class ApiKey
{
public string Id { get; set; }
public string Key { get; set; }
public string Owner { get; set; }
public List<string> CanUploadLists { get; set; }
public List<string> Roles { get; set; }
}
}

View File

@ -1,18 +0,0 @@
using System;
using Wabbajack.Common;
using Wabbajack.Lib.Downloaders;
namespace Wabbajack.BuildServer.Models
{
public class DownloadState
{
public string Key { get; set; }
public Hash Hash { get; set; }
public AbstractDownloadState State { get; set; }
public bool IsValid { get; set; }
public DateTime LastValidationTime { get; set; } = DateTime.Now;
public DateTime FirstValidationTime { get; set; } = DateTime.Now;
}
}

View File

@ -43,7 +43,7 @@ steps:
inputs:
command: 'test'
projects: '**/*.Test.csproj'
arguments: '/p:Platform=x64 /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura'
arguments: '/p:Platform=x64 /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:CoverletOutput=$(Build.SourcesDirectory)/CodeCoverage'
# Generate the report using ReportGenerator (https://github.com/danielpalme/ReportGenerator)
# First install the tool on the machine, then run it