Skip to content

Commit

Permalink
Merge branch 'develop' into feature-dotnet8
Browse files Browse the repository at this point in the history
  • Loading branch information
bratchikov committed Sep 11, 2024
2 parents f8c27b5 + f1fac0b commit cf07672
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ jobs:
with:
dotnet-version: 7.0.x

- name: Install .NET 8.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x

- name: Restore NewPlatform.Flexberry.ORM.ODataService.sln
run: dotnet restore NewPlatform.Flexberry.ORM.ODataService.sln

Expand All @@ -90,6 +95,9 @@ jobs:
- name: Test on dotnet 7.0
run: dotnet test ./Tests/NewPlatform.Flexberry.ORM.ODataService.Tests/bin/$CONFIGURATION/net7.0/NewPlatform.Flexberry.ORM.ODataService.Tests.dll

- name: Test on dotnet 8.0
run: dotnet test ./Tests/NewPlatform.Flexberry.ORM.ODataService.Tests/bin/$CONFIGURATION/net8.0/NewPlatform.Flexberry.ORM.ODataService.Tests.dll

- name: Test under mono
run: mono ./testrunner/xunit.runner.console.$XUNIT_RUNNER/tools/net461/xunit.console.exe ./Tests/NewPlatform.Flexberry.ORM.ODataService.Tests/bin/$CONFIGURATION/net461/NewPlatform.Flexberry.ORM.ODataService.Tests.dll

Expand All @@ -106,14 +114,14 @@ jobs:
# Label used to access the service container
mssql:
# Docker Hub image
image: mcr.microsoft.com/mssql/server:2019-latest
image: mcr.microsoft.com/mssql/server:2022-latest
# Provide the password for mssql
env:
ACCEPT_EULA: Y
SA_PASSWORD: p@ssw0rd
MSSQL_SA_PASSWORD: p@ssw0rd
# Set health checks to wait until mssql has started
options: >-
--health-cmd "/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P ${SA_PASSWORD} -Q 'SELECT 1' -b -o /dev/null"
--health-cmd "/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P ${MSSQL_SA_PASSWORD} -Q 'SELECT 1' -b -o /dev/null"
--health-interval 10s
--health-timeout 5s
--health-retries 5
Expand Down Expand Up @@ -149,6 +157,11 @@ jobs:
with:
dotnet-version: 7.0.x

- name: Install .NET 8.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x

- name: Restore NewPlatform.Flexberry.ORM.ODataService.sln
run: dotnet restore NewPlatform.Flexberry.ORM.ODataService.sln

Expand All @@ -167,6 +180,9 @@ jobs:
- name: Test on dotnet 7.0
run: dotnet test ./Tests/NewPlatform.Flexberry.ORM.ODataService.Tests/bin/$CONFIGURATION/net7.0/NewPlatform.Flexberry.ORM.ODataService.Tests.dll

- name: Test on dotnet 8.0
run: dotnet test ./Tests/NewPlatform.Flexberry.ORM.ODataService.Tests/bin/$CONFIGURATION/net8.0/NewPlatform.Flexberry.ORM.ODataService.Tests.dll

- name: Test under mono
run: mono ./testrunner/xunit.runner.console.$XUNIT_RUNNER/tools/net461/xunit.console.exe ./Tests/NewPlatform.Flexberry.ORM.ODataService.Tests/bin/$CONFIGURATION/net461/NewPlatform.Flexberry.ORM.ODataService.Tests.dll

Expand Down

0 comments on commit cf07672

Please sign in to comment.