Skip to content

Create docker image for CLI #120

Create docker image for CLI

Create docker image for CLI #120

Workflow file for this run

name: Unit Tests
on:
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
unit_tests:
if: github.event.pull_request.draft == false
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
- name: Restore dependencies
run: dotnet restore
- name: Build
run: msbuild SQLSchemaCompare.sln /p:Configuration=Release
- name: Test
run: dotnet test SQLSchemaCompare.Test --no-build --configuration Release --logger trx --filter Category!=IntegrationTest
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/composite@v2
if: always()
with:
check_name: "Unit Test Results"
files: SQLSchemaCompare.Test/TestResults/*.trx