правки
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: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
# container: node container: node
# Service containers to run with `runner-job` # Service containers to run with `runner-job`
services: services:
# Label used to access the service container # Label used to access the service container
postgres_test_12345678987654321_qqq_www: postgres:
# Docker Hub image # Docker Hub image
image: postgres image: postgres
# Provide the password for postgres # Provide the password for postgres
@ -28,16 +28,11 @@ jobs:
- 5442:5432 - 5442:5432
steps: steps:
- name: Build and test - name: Setup dotnet
uses: microsoft/dotnet uses: actions/setup-dotnet@v4
with: with:
target: build dotnet-version: 8.0.x
load: true - name: Check out repository code
# - name: Setup dotnet uses: actions/checkout@v4
# uses: actions/setup-dotnet@v4 - name: Run integration tests
# with: 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": { "DbConnection": {
"Host": "postgres_test_12345678987654321_qqq_www", "Host": "postgres",
"Port": 5432, "Port": 5432,
"Database": "persistence", "Database": "persistence",
"Username": "postgres", "Username": "postgres",