-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
529 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
{ | ||
"projectName": "Cake.Codecov", | ||
"projectOwner": "cake-contrib", | ||
"repoType": "github", | ||
"repoHost": "https://github.com", | ||
"files": [ | ||
"README.md" | ||
], | ||
"imageSize": 100, | ||
"commit": false, | ||
"contributors": [ | ||
{ | ||
"login": "larzw", | ||
"name": "Larz White", | ||
"avatar_url": "https://avatars0.githubusercontent.com/u/6298611?v=4", | ||
"profile": "https://www.linkedin.com/in/larz-white-5a8264108", | ||
"contributions": [ | ||
"maintenance" | ||
] | ||
}, | ||
{ | ||
"login": "AdmiringWorm", | ||
"name": "Kim J. Nordmo", | ||
"avatar_url": "https://avatars3.githubusercontent.com/u/1474648?v=4", | ||
"profile": "https://github.com/AdmiringWorm", | ||
"contributions": [ | ||
"maintenance" | ||
] | ||
}, | ||
{ | ||
"login": "gep13", | ||
"name": "Gary Ewan Park", | ||
"avatar_url": "https://avatars3.githubusercontent.com/u/1271146?v=4", | ||
"profile": "http://www.gep13.co.uk/blog", | ||
"contributions": [ | ||
"review", | ||
"ideas" | ||
] | ||
}, | ||
{ | ||
"login": "vkbishnoi", | ||
"name": "Vishal Bishnoi", | ||
"avatar_url": "https://avatars0.githubusercontent.com/u/8297727?v=4", | ||
"profile": "https://github.com/vkbishnoi", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "pascalberger", | ||
"name": "Pascal Berger", | ||
"avatar_url": "https://avatars1.githubusercontent.com/u/2190718?v=4", | ||
"profile": "https://twitter.com/hereispascal", | ||
"contributions": [ | ||
"ideas" | ||
] | ||
}, | ||
{ | ||
"login": "twenzel", | ||
"name": "Toni Wenzel", | ||
"avatar_url": "https://avatars2.githubusercontent.com/u/500376?v=4", | ||
"profile": "https://github.com/twenzel", | ||
"contributions": [ | ||
"ideas" | ||
] | ||
}, | ||
{ | ||
"login": "Jericho", | ||
"name": "jericho", | ||
"avatar_url": "https://avatars0.githubusercontent.com/u/112710?v=4", | ||
"profile": "https://github.com/Jericho", | ||
"contributions": [ | ||
"ideas" | ||
] | ||
}, | ||
{ | ||
"login": "gitfool", | ||
"name": "Sean Fausett", | ||
"avatar_url": "https://avatars2.githubusercontent.com/u/750121?v=4", | ||
"profile": "https://github.com/gitfool", | ||
"contributions": [ | ||
"code" | ||
] | ||
} | ||
], | ||
"contributorsPerLine": 7, | ||
"types": { | ||
"bug": { | ||
"symbol": "🐛", | ||
"description": "Bug reports", | ||
"link": "<%= options.repoHost %>/<%= options.projectOwner %>/<%= options.projectName %>/issues?q=author%3A<%= contributor.login %>+label%3Abug" | ||
}, | ||
"ideas": { | ||
"symbol": "🤔", | ||
"description": "Ideas, Planning, & Feedback", | ||
"link": "<%= options.repoHost %>/<%= options.projectOwner %>/<%= options.projectName %>/issues?q=author%3A<%= contributor.login %>" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,3 +63,4 @@ | |
#*.RTF diff=astextplain | ||
|
||
*.ps1 text eol=crlf | ||
*.sh text eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -255,3 +255,4 @@ paket-files/ | |
tools/** | ||
!tools/packages.config | ||
BuildArtifacts/ | ||
.dotnet/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
language: csharp | ||
dist: xenial | ||
os: | ||
- linux | ||
- osx | ||
mono: latest | ||
dotnet: 2.1.603 | ||
|
||
cache: | ||
directories: | ||
- tools | ||
env: | ||
global: | ||
- DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | ||
git: | ||
depth: false | ||
|
||
branches: | ||
except: | ||
- ci/appveyor | ||
- /^dependabot\/.*/ | ||
|
||
script: | ||
- ./build.sh --target=Linux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "build", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"build", | ||
"${workspaceFolder}/Source/Cake.Codecov.sln" | ||
], | ||
"problemMatcher": "$tsc" | ||
}, | ||
{ | ||
"label": "watch", | ||
"command": "dotnet", | ||
"type": "process", | ||
"args": [ | ||
"watch", | ||
"--project", | ||
"${workspaceFolder}/Source/Cake.Codecov.Tests/Cake.Codecov.Tests.csproj", | ||
"test" | ||
], | ||
"linux": { | ||
"args": [ | ||
"watch", | ||
"--project", | ||
"${workspaceFolder}/Source/Cake.Codecov.Tests/Cake.Codecov.Tests.csproj", | ||
"test", | ||
"--framework", | ||
"netcoreapp2.0" | ||
] | ||
}, | ||
"problemMatcher": "$tsc" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
Source/Cake.Codecov.Tests/Attributes/UnixTheoryAttribute.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System.Runtime.InteropServices; | ||
using Xunit; | ||
|
||
namespace Cake.Codecov.Tests.Attributes | ||
{ | ||
public class UnixTheoryAttribute : TheoryAttribute | ||
{ | ||
public UnixTheoryAttribute(string reason = null) | ||
{ | ||
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) | ||
{ | ||
Skip = reason ?? "non-windows test"; | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
Source/Cake.Codecov.Tests/Attributes/WindowsTheoryAttribute.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System.Runtime.InteropServices; | ||
using Xunit; | ||
|
||
namespace Cake.Codecov.Tests.Attributes | ||
{ | ||
public class WindowsTheoryAttribute : TheoryAttribute | ||
{ | ||
|
||
public WindowsTheoryAttribute(string reason = null) | ||
{ | ||
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) | ||
{ | ||
Skip = reason ?? "windows test."; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>netcoreapp2.0;net46</TargetFrameworks> | ||
<TargetFrameworks Condition="'$(OS)' != 'Unix'">netcoreapp2.0;net46</TargetFrameworks> | ||
<TargetFrameworks Condition="'$(OS)' == 'Unix'">netcoreapp2.0</TargetFrameworks> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Cake.Testing" Version="0.28.0" /> | ||
<PackageReference Include="FluentAssertions" Version="5.5.3" /> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" /> | ||
<PackageReference Include="Moq" Version="4.10.1" /> | ||
<PackageReference Include="xunit" Version="2.4.1" /> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" /> | ||
<PackageReference Include="Cake.Testing" Version="0.33.0"/> | ||
<PackageReference Include="coverlet.msbuild" Version="2.6.0"> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
<PackageReference Include="FluentAssertions" Version="5.6.0"/> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1"/> | ||
<PackageReference Include="Moq" Version="4.10.1"/> | ||
<PackageReference Include="xunit" Version="2.4.1"/> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1"> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
<PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.3.0"/> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\Cake.Codecov\Cake.Codecov.csproj" /> | ||
<ProjectReference Include="..\Cake.Codecov\Cake.Codecov.csproj"/> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,24 @@ | ||
image: Visual Studio 2017 | ||
image: | ||
- Visual Studio 2017 | ||
- Ubuntu | ||
environment: | ||
APPVEYOR_YML_DISABLE_PS_LINUX: true | ||
branches: | ||
except: | ||
- ci/travis | ||
- /dependabot\/.*/ | ||
skip_commits: | ||
files: | ||
- '*.md' | ||
- 'LICENSE' | ||
- '.travis.yml' | ||
|
||
build: off | ||
test: off | ||
|
||
build_script: | ||
- ps: .\build.ps1 -Target AppVeyor -Verbosity Diagnostic | ||
- ps: .\build.ps1 --target=AppVeyor | ||
- sh: ./build.sh --target=AppVeyor-Linux | ||
|
||
cache: | ||
- 'tools -> build.ps1,setup.cake' | ||
- 'tools -> build.config,setup.cake' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
DOTNET_VERSION=ANY | ||
CAKE_VERSION=0.33.0 |
Oops, something went wrong.