docker-dotnet
Some checks failed
Unit tests / test (push) Failing after 1s

This commit is contained in:
Olga Nemt 2024-12-20 12:13:52 +05:00
parent 461b33a69f
commit 6f07caaad9
2 changed files with 11 additions and 9 deletions

View File

@ -5,6 +5,7 @@ on: push
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
# container: node
# Service containers to run with `runner-job` # Service containers to run with `runner-job`
services: services:
@ -27,11 +28,13 @@ jobs:
- 5442:5432 - 5442:5432
steps: steps:
- name: Setup dotnet - name: Build and test
uses: actions/setup-dotnet@v4 run: docker run --rm mcr.microsoft.com/dotnet/samples
with: # - name: Setup dotnet
dotnet-version: 8.0.x # uses: actions/setup-dotnet@v4
- name: Check out repository code # with:
uses: actions/checkout@v4 # dotnet-version: 8.0.x
- name: Run integration tests # - name: Check out repository code
run: dotnet test DD.Persistence.IntegrationTests # uses: actions/checkout@v4
# - name: Run integration tests
# run: dotnet test DD.Persistence.IntegrationTests

View File

@ -14,6 +14,5 @@ public partial class PersistencePostgresContext : PersistenceDbContext
protected override void OnModelCreating(ModelBuilder modelBuilder) protected override void OnModelCreating(ModelBuilder modelBuilder)
{ {
base.OnModelCreating(modelBuilder); base.OnModelCreating(modelBuilder);
} }
} }