Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MOSIP-29918] add db-test.yml #1129

Merged
merged 2 commits into from
Nov 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/db-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: PostgreSQL Test

on:
release:
types: [published]
pull_request:
types: [opened, reopened, synchronize]
paths:
- 'db_scripts/**'
Rakshithb1 marked this conversation as resolved.
Show resolved Hide resolved
workflow_dispatch:
inputs:
message:
description: 'Message for manually triggering'
required: false
default: 'Triggered for Updates'
type: string
push:
branches:
- '!release-branch'
- release*
- master
- 1.*
- develop*
- MOSIP*
paths:
- 'db_scripts/**'

jobs:
build-db-test:
strategy:
matrix:
include:
- DB_LOCATION: 'db_scripts/mosip_ida'
DB_NAME: 'mosip_ida'
fail-fast: false
name: ${{ matrix.DB_NAME }}
uses: mosip/kattu/.github/workflows/db-test.yml@master
with:
DB_LOCATION: ${{ matrix.DB_LOCATION}}