Skip to content

Commit 7d54ed4

Browse files
committed
Added health check
1 parent 98792b3 commit 7d54ed4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/run-tests.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ jobs:
2424
ORACLE_RANDOM_PASSWORD: yes
2525
ports:
2626
- 1521:1521
27+
options: >-
28+
--health-cmd="sqlplus -s $GORM_ORACLEDB_USER/$GORM_ORACLEDB_PASSWORD@localhost:1521/FREEPDB1 <<< \"select 1 from dual;\""
29+
--health-start-period 10s
30+
--health-interval 10s
31+
--health-timeout 5s
32+
--health-retries 10
2733
steps:
2834

2935
- name: Set up Go

0 commit comments

Comments
 (0)