mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 11:17:46 +00:00
Update github workflow
This commit is contained in:
6
.github/workflows/db-test.yml
vendored
6
.github/workflows/db-test.yml
vendored
@@ -1,12 +1,16 @@
|
||||
name: PostgSail DB Tests docker & sql schema
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'initdb/**'
|
||||
branches:
|
||||
- 'main'
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
paths:
|
||||
- 'initdb/**'
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
4
.github/workflows/grafana-test.yml
vendored
4
.github/workflows/grafana-test.yml
vendored
@@ -10,7 +10,7 @@ on:
|
||||
branches:
|
||||
- 'main'
|
||||
paths:
|
||||
- 'initgrafanadb/**'
|
||||
- 'grafana/**'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@@ -55,8 +55,6 @@ jobs:
|
||||
docker-compose rm || true
|
||||
docker-compose up -d db && sleep 15
|
||||
docker-compose ps -a
|
||||
echo ${PGSAIL_API_URL}
|
||||
curl ${PGSAIL_API_URL}
|
||||
echo "Test PostgSail Grafana Unit Test"
|
||||
docker-compose -d up app && sleep 5
|
||||
docker-compose ps -a
|
||||
|
Reference in New Issue
Block a user