Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/publish-Sharpy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: publish to nuget
on:
push:
branches:
- master # Default release branch
- use-github-workflow
jobs:
publish:
name: build, pack & publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

# - name: Setup dotnet
# uses: actions/setup-dotnet@v1
# with:
# dotnet-version: 3.1.200

# Publish
- name: publish on version change
id: publish_nuget
uses: rohith/publish-nuget@v2
with:
# Filepath of the project to be packaged, relative to root of repository
PROJECT_FILE_PATH: ./src/Sharpy.csproj
# NuGet package id, used for version detection & defaults to project name
PACKAGE_NAME: Sharpy
# Filepath with version info, relative to root of repository & defaults to PROJECT_FILE_PATH
# VERSION_FILE_PATH: Directory.Build.props
# Regex pattern to extract version info in a capturing group
# VERSION_REGEX: ^\s*<Version>(.*)<\/Version>\s*$
# Useful with external providers like Nerdbank.GitVersioning, ignores VERSION_FILE_PATH & VERSION_REGEX
# VERSION_STATIC: 1.0.0
# Flag to toggle git tagging, enabled by default
# TAG_COMMIT: true
# Format of the git tag, [*] gets replaced with actual version
# TAG_FORMAT: v*
# API key to authenticate with NuGet server
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
# NuGet server uri hosting the packages, defaults to https://api.nuget.org
NUGET_SOURCE: https://api.nuget.org
# Flag to toggle pushing symbols along with nuget package to the server, disabled by default
# INCLUDE_SYMBOLS: false
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

name: Test

on: [push]

jobs:
build:
name: Test project
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.100
- name: Build
run: dotnet build --configuration Release
- name: Test
run: dotnet test --no-build --configuration Release
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# Sharpy


| CI | Development | Master |
|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| AppVeyor | [![Build status](https://ci.appveyor.com/api/projects/status/7xxovtd60q5gl3ln/branch/development?svg=true)](https://ci.appveyor.com/project/inputfalken/sharpy/branch/development) | [![Build status](https://ci.appveyor.com/api/projects/status/7xxovtd60q5gl3ln/branch/master?svg=true)](https://ci.appveyor.com/project/inputfalken/sharpy/branch/master) |
| Travis | [![Build Status](https://travis-ci.org/inputfalken/Sharpy.svg?branch=development)](https://travis-ci.org/inputfalken/Sharpy) | [![Build Status](https://travis-ci.org/inputfalken/Sharpy.svg?branch=master)](https://travis-ci.org/inputfalken/Sharpy) |

A C# Class library for generating fake data with fluent syntax using LINQ convention.

For information about installing and using this library, please visit the [API-Documentation](https://inputfalken.github.io/Sharpy/) page.
31 changes: 0 additions & 31 deletions appveyor.yml

This file was deleted.

159 changes: 0 additions & 159 deletions deployment.ps1

This file was deleted.

6 changes: 3 additions & 3 deletions src/Sharpy/Sharpy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
<DefineConstants>RELEASE;NETSTANDARD2_0</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Sharpy.Core" Version="0.3.1" />
<PackageReference Include="Sharpy.Builder" Version="0.0.3" />
<Folder Include="Properties\" />
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
<ProjectReference Include="..\Sharpy.Builder\Sharpy.Builder.csproj" />
<ProjectReference Include="..\Sharpy.Core\Sharpy.Core.csproj" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion tests/Sharpy.Builder.Tests/Sharpy.Builder.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion tests/Sharpy.Core.Tests/Sharpy.Core.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion tests/Sharpy.Tests/Sharpy.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
38 changes: 0 additions & 38 deletions travis.sh

This file was deleted.