Skip to content

Commit 080a712

Browse files
committed
feat: Creates test solution
1 parent 900654c commit 080a712

File tree

8 files changed

+575
-0
lines changed

8 files changed

+575
-0
lines changed

.gitignore

Whitespace-only changes.

src/.gitignore

Lines changed: 454 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net6.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
8+
<IsPackable>false</IsPackable>
9+
</PropertyGroup>
10+
11+
<ItemGroup>
12+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0"/>
13+
<PackageReference Include="NUnit" Version="3.13.3"/>
14+
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1"/>
15+
<PackageReference Include="NUnit.Analyzers" Version="3.3.0"/>
16+
<PackageReference Include="coverlet.collector" Version="3.1.2"/>
17+
</ItemGroup>
18+
19+
</Project>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
namespace GitHubActionsPlayground.Tests;
2+
3+
public class Tests
4+
{
5+
[SetUp]
6+
public void Setup()
7+
{
8+
}
9+
10+
[Test]
11+
public void Test1()
12+
{
13+
Assert.Pass();
14+
}
15+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
global using NUnit.Framework;

src/GitHubActionsPlayground.sln

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitHubActionsPlayground", "GitHubActionsPlayground\GitHubActionsPlayground.csproj", "{5E6A73E4-6F21-4DEF-9CCD-DE75FA537B30}"
4+
EndProject
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitHubActionsPlayground.Tests", "GitHubActionsPlayground.Tests\GitHubActionsPlayground.Tests.csproj", "{46F80D6C-B120-4C73-977B-246B6783D02F}"
6+
EndProject
7+
Global
8+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
9+
Debug|Any CPU = Debug|Any CPU
10+
Release|Any CPU = Release|Any CPU
11+
EndGlobalSection
12+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
13+
{5E6A73E4-6F21-4DEF-9CCD-DE75FA537B30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14+
{5E6A73E4-6F21-4DEF-9CCD-DE75FA537B30}.Debug|Any CPU.Build.0 = Debug|Any CPU
15+
{5E6A73E4-6F21-4DEF-9CCD-DE75FA537B30}.Release|Any CPU.ActiveCfg = Release|Any CPU
16+
{5E6A73E4-6F21-4DEF-9CCD-DE75FA537B30}.Release|Any CPU.Build.0 = Release|Any CPU
17+
{46F80D6C-B120-4C73-977B-246B6783D02F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
18+
{46F80D6C-B120-4C73-977B-246B6783D02F}.Debug|Any CPU.Build.0 = Debug|Any CPU
19+
{46F80D6C-B120-4C73-977B-246B6783D02F}.Release|Any CPU.ActiveCfg = Release|Any CPU
20+
{46F80D6C-B120-4C73-977B-246B6783D02F}.Release|Any CPU.Build.0 = Release|Any CPU
21+
EndGlobalSection
22+
EndGlobal
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net6.0</TargetFramework>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
8+
</PropertyGroup>
9+
10+
11+
<PropertyGroup>
12+
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net48;net6.0</TargetFrameworks>
13+
<LangVersion>latest</LangVersion>
14+
<PackageVersion>0.0.1</PackageVersion>
15+
</PropertyGroup>
16+
17+
<PropertyGroup Label="Assembly information">
18+
<AssemblyTitle>A test project for reusable GitHub actions.</AssemblyTitle>
19+
<AssemblyName>GitHubActionsPlayground</AssemblyName>
20+
<AssemblyVersion>0.0.1</AssemblyVersion>
21+
<Company>Carl Zeiss Industrielle Messtechnik GmbH</Company>
22+
<Copyright>Copyright © 2022 $(Company)</Copyright>
23+
<Description>This does nothing useful.</Description>
24+
<FileVersion>$(AssemblyVersion)</FileVersion>
25+
<InformationalVersion>$(AssemblyVersion)</InformationalVersion>
26+
<NeutralLanguage>en</NeutralLanguage>
27+
<Product>GitHub Actions Playground</Product>
28+
</PropertyGroup>
29+
30+
<PropertyGroup Label="NuGet package specifications">
31+
<Authors>$(Company)</Authors>
32+
<EmbedAllSources>true</EmbedAllSources>
33+
<PackageId>GitHubActionsPlayground</PackageId>
34+
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
35+
<PackageProjectUrl>https://github.com/georg-eckert-zeiss/github-actions-playground</PackageProjectUrl>
36+
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
37+
<PackageTags>GitHub Actions Playground</PackageTags>
38+
<Version>$(InformationalVersion)</Version>
39+
<RepositoryUrl>https://github.com/georg-eckert-zeiss/github-actions-playground</RepositoryUrl>
40+
</PropertyGroup>
41+
42+
<PropertyGroup>
43+
<DebugType>Full</DebugType>
44+
</PropertyGroup>
45+
46+
<ItemGroup>
47+
<Content Include="..\..\LICENSE.txt">
48+
<Link>LICENSE.txt</Link>
49+
<Pack>true</Pack>
50+
<PackagePath>/</PackagePath>
51+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
52+
</Content>
53+
</ItemGroup>
54+
55+
<ItemGroup>
56+
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
57+
<_Parameter1>$(AssemblyName).Tests</_Parameter1>
58+
</AssemblyAttribute>
59+
</ItemGroup>
60+
61+
</Project>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// See https://aka.ms/new-console-template for more information
2+
3+
Console.WriteLine("Hello, World!");

0 commit comments

Comments
 (0)