Skip to content

Commit

Permalink
💚 Fix workflow tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jasontaylordev committed Oct 19, 2022
1 parent 5a600ab commit 53d6572
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions .github/workflows/dotnet-build.yml
Original file line number Diff line number Diff line change
@@ -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;
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;

0 comments on commit 53d6572

Please sign in to comment.