правки
All checks were successful
Unit tests / test (push) Successful in 1m12s

This commit is contained in:
Olga Nemt 2024-12-20 12:19:36 +05:00
parent f6cec47439
commit 1c62aa57b6
2 changed files with 10 additions and 15 deletions

View File

@ -5,12 +5,12 @@ on: push
jobs:
test:
runs-on: ubuntu-latest
# container: node
container: node
# Service containers to run with `runner-job`
services:
# Label used to access the service container
postgres_test_12345678987654321_qqq_www:
postgres:
# Docker Hub image
image: postgres
# Provide the password for postgres
@ -28,16 +28,11 @@ jobs:
- 5442:5432
steps:
- name: Build and test
uses: microsoft/dotnet
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
target: build
load: true
# - name: Setup dotnet
# uses: actions/setup-dotnet@v4
# with:
# dotnet-version: 8.0.x
# - name: Check out repository code
# uses: actions/checkout@v4
# - name: Run integration tests
# run: dotnet test DD.Persistence.IntegrationTests
dotnet-version: 8.0.x
- name: Check out repository code
uses: actions/checkout@v4
- name: Run integration tests
run: dotnet test DD.Persistence.IntegrationTests

View File

@ -1,6 +1,6 @@
{
"DbConnection": {
"Host": "postgres_test_12345678987654321_qqq_www",
"Host": "postgres",
"Port": 5432,
"Database": "persistence",
"Username": "postgres",