Skip to content

Commit

Permalink
[MOSIP-29918] added db-test.yml (mosip#912)
Browse files Browse the repository at this point in the history
* [MOSIP-29918] added db-test.yml

Signed-off-by: Rakshithb1 <[email protected]>

* [MOSIP-29918] added db-test.yml

Signed-off-by: Rakshithb1 <[email protected]>

* [MOSIP-29918] added db-test.yml

Signed-off-by: Rakshithb1 <[email protected]>

---------

Signed-off-by: Rakshithb1 <[email protected]>
Signed-off-by: dhanendra06 <[email protected]>
  • Loading branch information
Rakshithb1 authored and dhanendra06 committed Jun 13, 2024
1 parent 262dc82 commit 46e4734
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/db-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: PostgreSQL Test

on:
release:
types: [published]
pull_request:
types: [opened, reopened, synchronize]
paths:
- 'db_scripts/**'
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_hotlist'
DB_NAME: 'mosip_hotlist'
- DB_LOCATION: 'db_scripts/mosip_master'
DB_NAME: 'mosip_master'
fail-fast: false
name: ${{ matrix.DB_NAME }}
uses: mosip/kattu/.github/workflows/db-test.yml@master
with:
DB_LOCATION: ${{ matrix.DB_LOCATION}}

0 comments on commit 46e4734

Please sign in to comment.