Skip to content

Commit

Permalink
CI My.Hr testing
Browse files Browse the repository at this point in the history
  • Loading branch information
chullybun committed Oct 26, 2023
1 parent 9b3277a commit f5eda49
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,27 @@ jobs:
6.0.x
7.0.x
- name: Restore 'Tools' dependencies
# Tools

- name: Tools restore
run: |
dotnet restore ./tools/Beef.CodeGen.Core
dotnet restore ./tools/Beef.Database.Core
dotnet restore ./tools/Beef.Database.SqlServer
dotnet restore ./tools/Beef.Database.MySql
dotnet restore ./tools/Beef.Test.NUnit
- name: Build 'Tools' projects
- name: Tools build
run: |
dotnet build ./tools/Beef.CodeGen.Core --no-restore
dotnet build ./tools/Beef.Database.Core --no-restore
dotnet build ./tools/Beef.Database.SqlServer --no-restore
dotnet build ./tools/Beef.Database.MySql --no-restore
dotnet build ./tools/Beef.Test.NUnit --no-restore
- name: Restore 'Samples/Demo' dependencies
# Samples/Demo

- name: Samples/Demo restore
run: |
dotnet restore ./samples/Demo/Beef.Demo.CodeGen
dotnet restore ./samples/Demo/Beef.Demo.Database
Expand All @@ -64,7 +68,7 @@ jobs:
dotnet restore ./samples/Demo/Beef.Demo.Abc.Database
dotnet restore ./samples/Demo/Beef.Demo.Test
- name: Build 'Samples/Demo' projects
- name: Samples/Demo build
run: |
dotnet build ./samples/Demo/Beef.Demo.CodeGen --no-restore
dotnet build ./samples/Demo/Beef.Demo.Database --no-restore
Expand All @@ -74,15 +78,17 @@ jobs:
dotnet build ./samples/Demo/Beef.Demo.Abc.Database --no-restore
dotnet build ./samples/Demo/Beef.Demo.Test --no-restore
- name: Restore 'Samples/Cdr.Banking' dependencies
# Samples/Cdr.Banking

- name: Samples/Cdr.Banking restore
run: |
dotnet restore ./samples/Cdr.Banking/Cdr.Banking.CodeGen
dotnet restore ./samples/Cdr.Banking/Cdr.Banking.Common
dotnet restore ./samples/Cdr.Banking/Cdr.Banking.Business
dotnet restore ./samples/Cdr.Banking/Cdr.Banking.Api
dotnet restore ./samples/Cdr.Banking/Cdr.Banking.Test
- name: Build 'Samples/Cdr.Banking' projects
- name: Samples/Cdr.Banking build
run: |
dotnet build ./samples/Cdr.Banking/Cdr.Banking.CodeGen --no-restore
dotnet build ./samples/Cdr.Banking/Cdr.Banking.Common --no-restore
Expand Down Expand Up @@ -110,6 +116,17 @@ jobs:
dotnet build ./samples/My.Hr/My.Hr.Api --no-restore
dotnet build ./samples/My.Hr/My.Hr.Test --no-restore
- name: Samples/My.Hr database
working-directory: ./samples/My.Hr/My.Hr.Database
run: dotnet run all --connection-varname My_Hr_ConnectionStrings__Database --expect-no-changes

- name: Samples/My.Hr code-gen
working-directory: ./samples/My.Hr/My.Hr.CodeGen
run: dotnet run all --expect-no-changes

- name: Samples/My.Hr testing
run: dotnet test ./samples/My.Hr/My.Hr.Test --no-build --verbosity normal

# Samples/MyEf.Hr

- name: Samples/MyEf.Hr restore
Expand Down

0 comments on commit f5eda49

Please sign in to comment.