I give up
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Sam Therapy 2023-05-04 23:06:45 +02:00
parent ffda02f47a
commit 20af1ffb6c
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
1 changed files with 19 additions and 19 deletions

View File

@ -1,29 +1,29 @@
kind: pipeline
name: testing
type: docker
# kind: pipeline
# name: testing
# type: docker
steps:
- name: Test
image: mcr.microsoft.com/dotnet/sdk:6.0
commands:
- sed -i "s/127\.0\.0\.1/database/g" ./src/Tests/BirdsiteLive.DAL.Postgres.Tests/DataAccessLayers/Base/PostgresTestingBase.cs
- dotnet test --verbosity minimal ./src
# steps:
# - name: Test
# image: mcr.microsoft.com/dotnet/sdk:6.0
# commands:
# - sed -i "s/127\.0\.0\.1/database/g" ./src/Tests/BirdsiteLive.DAL.Postgres.Tests/DataAccessLayers/Base/PostgresTestingBase.cs
# - dotnet test --verbosity minimal ./src
services:
- name: database
image: postgres:15
environment:
POSTGRES_USER: birdsitelive
POSTGRES_PASSWORD: birdsitelive
POSTGRES_DB: birdsitelive
# services:
# - name: database
# image: postgres:15
# environment:
# POSTGRES_USER: birdsitelive
# POSTGRES_PASSWORD: birdsitelive
# POSTGRES_DB: birdsitelive
---
# ---
kind: pipeline
name: docker-publish
type: docker
depends_on:
- testing
# depends_on:
# - testing
steps:
- name: Build & Publish