-
Notifications
You must be signed in to change notification settings - Fork 798
45 lines (41 loc) · 1.21 KB
/
healthchecks_npgsql_ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: HealthChecks NPGSQL DB CI
on:
workflow_dispatch:
push:
branches: [ master ]
paths:
- src/HealthChecks.NpgSql/**
- test/HealthChecks.Npgsql.Tests/**
- test/_SHARED/**
- .github/workflows/healthchecks_npgsql_ci.yml
- .github/workflows/reusable_ci_workflow.yml
- Directory.Build.props
- Directory.Build.targets
tags-ignore:
- release-*
- preview-*
pull_request:
branches: [ master ]
paths:
- src/HealthChecks.NpgSql/**
- test/HealthChecks.Npgsql.Tests/**
- test/_SHARED/**
- .github/workflows/healthchecks_npgsql_ci.yml
- .github/workflows/reusable_ci_workflow.yml
- Directory.Build.props
- Directory.Build.targets
jobs:
build:
services:
npgsql:
image: postgres
ports:
- 8010:5432
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: Password12!
uses: ./.github/workflows/reusable_ci_workflow.yml
with:
PROJECT_PATH: ./src/HealthChecks.NpgSql/HealthChecks.NpgSql.csproj
TEST_PROJECT_PATH: ./test/HealthChecks.Npgsql.Tests/HealthChecks.Npgsql.Tests.csproj
CODECOV_FLAGS: Npgsql