Skip to content

Commit f4653c4

Browse files
committed
Test Oracle connection
1 parent b38dc03 commit f4653c4

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ jobs:
4949
- name: Docker Inspect (Health Check - DB Containers)
5050
if: ${{ (matrix.os == 'ubuntu-22.04') && (matrix.dotnet-version == '3.1.x') }}
5151
uses: ./.github/workflows/docker-inspect-health-check
52+
53+
- name: Docker Test Oracle Connection
54+
if: ${{ (matrix.os == 'ubuntu-22.04') && (matrix.dotnet-version == '3.1.x') }}
55+
uses: ./.github/workflows/docker-test-oracle-connection
56+
env:
57+
ORACLE_PWD: ${{ inputs.dbPassword }}
5258

5359
- name: Docker Execute (Seed Data)
5460
if: ${{ (matrix.os == 'ubuntu-22.04') && (matrix.dotnet-version == '3.1.x') }}
@@ -101,6 +107,11 @@ jobs:
101107
- name: Docker Inspect (Health Check - DB Containers)
102108
uses: ./.github/workflows/docker-inspect-health-check
103109

110+
- name: Docker Test Oracle Connection
111+
uses: ./.github/workflows/docker-test-oracle-connection
112+
env:
113+
ORACLE_PWD: ${{ inputs.dbPassword }}
114+
104115
- name: Docker Execute (Seed Data)
105116
uses: ./.github/workflows/docker-execute-seed-data
106117
with:

.github/workflows/coverage.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ jobs:
3838

3939
- name: Docker Inspect (Health Check - DB Containers)
4040
uses: ./.github/workflows/docker-inspect-health-check
41+
42+
- name: Docker Test Oracle Connection
43+
uses: ./.github/workflows/docker-test-oracle-connection
44+
env:
45+
ORACLE_PWD: ${{ inputs.dbPassword }}
4146

4247
- name: Docker Execute (Seed Data)
4348
uses: ./.github/workflows/docker-execute-seed-data

.github/workflows/docker-execute-seed-data/action.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ runs:
99
using: 'composite'
1010

1111
steps:
12-
- name: Docker Test Oracle Connection
13-
uses: ./.github/workflows/docker-test-oracle-connection
14-
env:
15-
ORACLE_PWD: ${{ inputs.dbPassword }}
16-
1712
- name: Docker Execute (ORACLE - Seed Data)
1813
shell: bash
1914
run: |

.github/workflows/docker-test-oracle-connection/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ runs:
4343
Write-Host "Connection failed. Waiting for $($waitTime) seconds before retrying..."
4444
Start-Sleep -Seconds $waitTime
4545
}
46-
4746
if ($i -eq $retryCount) {
4847
Write-Host "Exceeded maximum retry attempts. Exiting script."
4948
exit 1

0 commit comments

Comments
 (0)