Skip to content

Commit 815646c

Browse files
committed
Switching to github actions for CI
1 parent a4beea3 commit 815646c

File tree

4 files changed

+15
-11
lines changed

4 files changed

+15
-11
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: .NET 5 CI
2+
on: [push]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
name: Build and Test (with Coverage)
7+
steps:
8+
- uses: actions/checkout@v2
9+
- uses: actions/setup-dotnet@v1
10+
with:
11+
dotnet-version: '5.0.x'
12+
- run: dotnet build src/MaybeSharp.sln
13+
- run: dotnet test src/MaybeSharp.sln -f net5 /p:CollectCoverage=true /p:Include="[MaybeSharp]*"

.travis.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/lord-executor/MaybeSharp/blob/master/LICENSE) [![Build Status](https://app.travis-ci.com/lord-executor/MaybeSharp.svg?branch=master)](https://app.travis-ci.com/lord-executor/MaybeSharp) [![Nuget](https://img.shields.io/nuget/v/MaybeSharp.svg)](https://www.nuget.org/packages/MaybeSharp/)
2+
[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/lord-executor/MaybeSharp/blob/master/LICENSE) [![.NET 5 CI](https://github.com/lord-executor/MaybeSharp/actions/workflows/ci.yml/badge.svg)](https://github.com/lord-executor/MaybeSharp/actions/workflows/ci.yml) [![Nuget](https://img.shields.io/nuget/v/MaybeSharp.svg)](https://www.nuget.org/packages/MaybeSharp/)
33

44

55
# Overview

src/MaybeSharp.UnitTests/MaybeSharp.UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net5</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>

0 commit comments

Comments
 (0)