From 53d65727b4a3ea83d805e70ec94f8bcf447bbc88 Mon Sep 17 00:00:00 2001 From: Jason Taylor Date: Wed, 19 Oct 2022 12:21:23 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Fix=20workflow=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dotnet-build.yml | 62 +++++++++++++++--------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/workflows/dotnet-build.yml b/.github/workflows/dotnet-build.yml index 9d8a1315c..e5cc33570 100644 --- a/.github/workflows/dotnet-build.yml +++ b/.github/workflows/dotnet-build.yml @@ -1,31 +1,31 @@ -name: Build -on: - pull_request: - branches: [ main ] - -jobs: - build: - - runs-on: ubuntu-latest - - services: - sql: - image: mcr.microsoft.com/mssql/server - ports: - - 1433:1433 - env: - SA_PASSWORD: Your_password123 - ACCEPT_EULA: Y - - steps: - - uses: actions/checkout@v2 - - name: Setup .NET - uses: actions/setup-dotnet@v1 - - name: Restore - run: dotnet restore - - name: Build - run: dotnet build --no-restore --configuration Release - - name: Test - run: dotnet test --no-build --configuration Release --filter "FullyQualifiedName!~AcceptanceTests" - env: - ConnectionStrings__DefaultConnection: Server=.;Database=CleanArchitectureDb-Test;User=sa;Password=Your_password123;MultipleActiveResultSets=true; \ No newline at end of file +name: Build +on: + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: ubuntu-latest + + services: + sql: + image: mcr.microsoft.com/mssql/server + ports: + - 1433:1433 + env: + SA_PASSWORD: Your_password123 + ACCEPT_EULA: Y + + steps: + - uses: actions/checkout@v2 + - name: Setup .NET + uses: actions/setup-dotnet@v1 + - name: Restore + run: dotnet restore + - name: Build + run: dotnet build --no-restore --configuration Release + - name: Test + run: dotnet test --no-build --configuration Release --filter "FullyQualifiedName!~AcceptanceTests" + env: + ConnectionStrings__DefaultConnection: Server=.;Database=CleanArchitectureDb-Test;User=sa;Password=Your_password123;MultipleActiveResultSets=true;Encrypt=false; \ No newline at end of file