update github actions

This commit is contained in:
xbgmsharp
2023-08-22 16:59:50 +02:00
parent 11e0493964
commit f37156f15c
3 changed files with 6 additions and 2 deletions

View File

@@ -13,6 +13,8 @@ on:
paths:
- 'initdb/**'
- 'tests/**'
tags:
- "*"
workflow_dispatch:
jobs:
@@ -58,7 +60,6 @@ jobs:
psql -c "SELECT version();"
echo "Test PostgSail version"
psql -c "SELECT value FROM app_settings WHERE name = 'app.version';"
docker compose up -h
echo "Test PostgSail Unit Test"
docker compose -f docker-compose.dev.yml -f docker-compose.yml up tests --abort-on-container-exit --exit-code-from tests
if [ $? != 0 ];

View File

@@ -11,6 +11,8 @@ on:
- 'main'
paths:
- 'frontend/**'
tags:
- "*"
workflow_dispatch:
jobs:
@@ -49,7 +51,6 @@ jobs:
docker-compose up -d web_dev && sleep 60
docker-compose ps -a
curl http://localhost:8080/
docker compose up
docker compose -f docker-compose.dev.yml -f docker-compose.yml up web_tests --abort-on-container-exit --exit-code-from web_tests
if [ $? != 0 ];
then

View File

@@ -11,6 +11,8 @@ on:
- 'main'
paths:
- 'grafana/**'
tags:
- "*"
workflow_dispatch:
jobs: