Skip to content

Commit 466e64a

Browse files
committed
try oracle in github
1 parent e612cb5 commit 466e64a

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/dotnetpull.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,18 @@ jobs:
3737
--health-timeout=5s
3838
--health-retries=5
3939
40+
oracle:
41+
image: gvenzl/oracle-xe:21.3.0-slim
42+
ports:
43+
- 1521:1521
44+
env:
45+
ORACLE_PASSWORD: oracle
46+
options: >-
47+
--health-cmd "echo 'exit' | sqlplus -L system/oracle@localhost/XEPDB1"
48+
--health-interval=15s
49+
--health-timeout=10s
50+
--health-retries=10
51+
4052
steps:
4153
- uses: actions/checkout@v4
4254
- name: Setup .NET

src/Migrator.Tests/appsettings.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@
1212
"Id": "PostgreSQL",
1313
"ConnectionString": "Server=localhost;Port=5432;Database=testdb;User Id=testuser;Password=testpass;"
1414
},
15-
/*
1615
{
1716
"Id": "Oracle",
18-
"ConnectionString": "Data Source=localhost:1521/xxx;User Id=xxx;Password=xxx"
17+
"ConnectionString": "Data Source=localhost:1521/XEPDB1;User Id=test;Password=test"
1918
}
20-
*/
2119
]
2220
}

0 commit comments

Comments
 (0)