Skip to content

Commit db66978

Browse files
committed
Merge unit test with deploy file
1 parent 5390206 commit db66978

2 files changed

Lines changed: 14 additions & 20 deletions

File tree

.github/workflows/publish-Sharpy.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ on:
44
branches:
55
- master # Default release branch
66
jobs:
7+
build:
8+
name: Test project
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Setup .NET Core
14+
uses: actions/setup-dotnet@v1
15+
with:
16+
dotnet-version: 3.1.100
17+
- name: Build
18+
run: dotnet build --configuration Release
19+
- name: Test
20+
run: dotnet test --no-build --configuration Release
721
publish:
822
name: build, pack & publish
923
runs-on: ubuntu-latest

.github/workflows/test.yml

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

0 commit comments

Comments
 (0)