forked from grandnode/grandnode
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (25 loc) · 941 Bytes
/
Copy pathaspnetcore.yml
File metadata and controls
29 lines (25 loc) · 941 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: ASP.NET Core CI
on: [push]
jobs:
build:
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: Restore
run: dotnet restore ./GrandNode.sln --configfile ./NuGet.config
- name: Build with dotnet
run: dotnet build ./GrandNode.sln --configuration Release
- name: Start Docker for Mongodb
run: docker run -d -p 27017:27017 mongo
- name: Grand.Core Unit Tests
run: dotnet test ./Tests/Grand.Core.Tests/Grand.Core.Tests.csproj
- name: Grand.Services Unit Tests
run: dotnet test ./Tests/Grand.Services.Tests/Grand.Services.Tests.csproj
- name: Grand.Plugins Unit Tests
run: dotnet test ./Tests/Grand.Plugin.Tests/Grand.Plugin.Tests.csproj
- name: Grand.Api Unit Tests
run: dotnet test ./Tests/Grand.Api.Tests/Grand.Api.Tests.csproj