FINERACT-1724: Added retry to build & test github workflow steps

This commit is contained in:
Arnold Galovics
2023-06-09 10:08:22 +02:00
committed by Arnold Gálovics
parent 971179ce6d
commit 47aceb923d
3 changed files with 18 additions and 3 deletions
+6 -1
View File
@@ -79,6 +79,7 @@ jobs:
sudo apt-get install ghostscript graphviz -y
- name: Build & Test
uses: nick-fields/retry@v2
env:
AWS_ENDPOINT_URL: http://localhost:4566
AWS_ACCESS_KEY_ID: localstack
@@ -86,7 +87,11 @@ jobs:
AWS_REGION: us-east-1
FINERACT_REPORT_EXPORT_S3_ENABLED: true
FINERACT_REPORT_EXPORT_S3_BUCKET_NAME: fineract-reports
run: |
with:
timeout_minutes: 90
max_attempts: 3
retry_on: error
command: |
./gradlew --no-daemon --console=plain build test -x doc -x :twofactor-tests:test -x :oauth2-test:test
./gradlew --no-daemon --console=plain :twofactor-tests:test
./gradlew --no-daemon --console=plain :oauth2-tests:test
+6 -1
View File
@@ -79,6 +79,7 @@ jobs:
sudo apt-get install ghostscript graphviz -y
- name: Build & Test
uses: nick-fields/retry@v2
env:
AWS_ENDPOINT_URL: http://localhost:4566
AWS_ACCESS_KEY_ID: localstack
@@ -86,7 +87,11 @@ jobs:
AWS_REGION: us-east-1
FINERACT_REPORT_EXPORT_S3_ENABLED: true
FINERACT_REPORT_EXPORT_S3_BUCKET_NAME: fineract-reports
run: |
with:
timeout_minutes: 90
max_attempts: 3
retry_on: error
command: |
./gradlew --no-daemon --console=plain build test -x doc -x :twofactor-tests:test -x :oauth2-test:test -PdbType=mysql
./gradlew --no-daemon --console=plain :twofactor-tests:test -PdbType=mysql
./gradlew --no-daemon --console=plain :oauth2-tests:test -PdbType=mysql
+6 -1
View File
@@ -80,6 +80,7 @@ jobs:
sudo apt-get install ghostscript graphviz -y
- name: Build & Test
uses: nick-fields/retry@v2
env:
AWS_ENDPOINT_URL: http://localhost:4566
AWS_ACCESS_KEY_ID: localstack
@@ -87,7 +88,11 @@ jobs:
AWS_REGION: us-east-1
FINERACT_REPORT_EXPORT_S3_ENABLED: true
FINERACT_REPORT_EXPORT_S3_BUCKET_NAME: fineract-reports
run: |
with:
timeout_minutes: 90
max_attempts: 3
retry_on: error
command: |
./gradlew --no-daemon --console=plain build test -x doc -x :twofactor-tests:test -x :oauth2-test:test -PdbType=postgresql
./gradlew --no-daemon --console=plain :twofactor-tests:test -PdbType=postgresql
./gradlew --no-daemon --console=plain :oauth2-tests:test -PdbType=postgresql