Minor changes in initialization in StartupBase #1556
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ASP.NET Core CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Restore | |
run: dotnet restore ./GrandNode.sln | |
- 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.Business.Authentication Unit Tests | |
run: dotnet test ./src/Tests/Grand.Business.Authentication.Tests/Grand.Business.Authentication.Tests.csproj | |
- name: Grand.Business.Catalog Unit Tests | |
run: dotnet test ./src/Tests/Grand.Business.Catalog.Tests/Grand.Business.Catalog.Tests.csproj | |
- name: Grand.Business.Checkout Unit Tests | |
run: dotnet test ./src/Tests/Grand.Business.Checkout.Tests/Grand.Business.Checkout.Tests.csproj | |
- name: Grand.Business.Cms Unit Tests | |
run: dotnet test ./src/Tests/Grand.Business.Cms.Tests/Grand.Business.Cms.Tests.csproj | |
- name: Grand.Business.Common Unit Tests | |
run: dotnet test ./src/Tests/Grand.Business.Common.Tests/Grand.Business.Common.Tests.csproj | |
- name: Grand.Business.Customers Unit Tests | |
run: dotnet test ./src/Tests/Grand.Business.Customers.Tests/Grand.Business.Customers.Tests.csproj | |
- name: Grand.Business.Marketing Unit Tests | |
run: dotnet test ./src/Tests/Grand.Business.Marketing.Tests/Grand.Business.Marketing.Tests.csproj | |
- name: Grand.Business.Messages Unit Tests | |
run: dotnet test ./src/Tests/Grand.Business.Messages.Tests/Grand.Business.Messages.Tests.csproj | |
- name: Grand.Business.Storage Unit Tests | |
run: dotnet test ./src/Tests/Grand.Business.Storage.Tests/Grand.Business.Storage.Tests.csproj | |
- name: Grand.Business.System Unit Tests | |
run: dotnet test ./src/Tests/Grand.Business.System.Tests/Grand.Business.System.Tests.csproj | |
- name: Grand.Business.Data Unit Tests | |
run: dotnet test ./src/Tests/Grand.Data.Tests/Grand.Data.Tests.csproj | |
- name: Grand.Domain.Domain.Tests Unit Tests | |
run: dotnet test ./src/Tests/Grand.Domain.Tests/Grand.Domain.Tests.csproj | |
- name: Grand.Infrastructure.Tests Unit Tests | |
run: dotnet test ./src/Tests/Grand.Infrastructure.Tests/Grand.Infrastructure.Tests.csproj | |
- name: Grand.SharedKernel.Tests Unit Tests | |
run: dotnet test ./src/Tests/Grand.SharedKernel.Tests/Grand.SharedKernel.Tests.csproj | |
- name: Grand.Web.Common.Tests Unit Tests | |
run: dotnet test ./src/Tests/Grand.Web.Common.Tests/Grand.Web.Common.Tests.csproj | |
- name: Grand.Web.Admin.Tests Unit Tests | |
run: dotnet test ./src/Tests/Grand.Web.Admin.Tests/Grand.Web.Admin.Tests.csproj |