Handling tests logging and fixing tests CI

This commit is contained in:
Zoe Roux
2021-06-27 21:45:57 +02:00
parent 6f87139815
commit b5f31eba02
10 changed files with 57 additions and 29 deletions
+15
View File
@@ -5,6 +5,17 @@ on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
container: mcr.microsoft.com/dotnet/sdk:5.0
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v2
- name: Setup .NET
@@ -17,3 +28,7 @@ jobs:
run: dotnet build --no-restore '-p:SkipWebApp=true;SkipTranscoder=true'
- name: Test
run: dotnet test --no-build
env:
POSTGRES_HOST: postgres
POSTGRES_USERNAME: postgres
POSTGRES_PASSWORD: postgres