-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into release/v6/6.0.3
- Loading branch information
Showing
52 changed files
with
788 additions
and
744 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Build | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build-ubuntu: | ||
name: Build on Ubuntu (full) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: '8.0' | ||
- uses: actions/checkout@v3 | ||
- name: Restore dependencies | ||
run: dotnet restore | ||
- name: Build | ||
run: dotnet build --no-restore | ||
- name: Test | ||
run: dotnet test --no-build --logger "trx;LogFileName=test-results.trx" | ||
- name: Test Report | ||
uses: actions/upload-artifact@v3 | ||
if: success() || failure() | ||
with: | ||
name: test-results | ||
path: '**/TestResults/*.trx' | ||
|
||
build-windows: | ||
name: Build on Windows | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: '8.0' | ||
- uses: actions/checkout@v3 | ||
- name: Enable Postgres | ||
run: sc config postgresql-x64-14 start= demand | ||
- name: Start Postgres | ||
run: net start postgresql-x64-14 | ||
- name: Restore dependencies | ||
run: dotnet restore | ||
- name: Build | ||
run: dotnet build --no-restore /p:POSTGRES_ONLY=true | ||
- name: Test | ||
env: | ||
USE_LOCAL_SERVICE: 'true' | ||
run: dotnet test ./test/FlexLabs.EntityFrameworkCore.Upsert.IntegrationTests --no-build --logger "trx;LogFileName=test-results.trx" | ||
- name: Test Report | ||
uses: actions/upload-artifact@v3 | ||
if: success() || failure() | ||
with: | ||
name: test-results-win | ||
path: '**/TestResults/*.trx' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: 'Test Report' | ||
|
||
on: | ||
workflow_run: | ||
workflows: ['Build'] | ||
types: | ||
- completed | ||
|
||
permissions: | ||
contents: read | ||
actions: read | ||
checks: write | ||
|
||
jobs: | ||
report: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Extract test results | ||
uses: dorny/test-reporter@v1 | ||
with: | ||
artifact: test-results | ||
name: Test Results (Ubuntu) | ||
path: '**/TestResults/*.trx' | ||
reporter: dotnet-trx | ||
- name: Extract test results (Windows) | ||
uses: dorny/test-reporter@v1 | ||
with: | ||
artifact: test-results-win | ||
name: Test Results (Windows) | ||
path: '**/TestResults/*.trx' | ||
reporter: dotnet-trx |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<Project> | ||
|
||
<Sdk Name="DotNet.ReproducibleBuilds.Isolated" Version="1.2.25" /> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.2.25" PrivateAssets="All"/> | ||
</ItemGroup> | ||
|
||
</Project> |
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.