Support for passing in types that do not match exact entity type #12
Workflow file for this run
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: 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: '7.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: '7.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' |