Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 13 additions & 25 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,19 @@ jobs:
--health-timeout=5s
--health-retries=5

# oracle:
# image: gvenzl/oracle-xe:21.3.0-slim
# ports:
# - 1521:1521
# env:
# ORACLE_PASSWORD: testpass
# options: >-
# --health-cmd "echo 'exit' | sqlplus -L system/oracle@localhost/XEPDB1"
# --health-interval=25s
# --health-timeout=20s
# --health-retries=20
oracle:
image: gvenzl/oracle-free:latest
ports:
- 1521:1521
env:
ORACLE_RANDOM_PASSWORD: true
APP_USER: test
APP_USER_PASSWORD: test
options: >-
--health-cmd healthcheck.sh
--health-interval 10s
--health-timeout 5s
--health-retries 10

mysql:
image: mysql:8.0
Expand Down Expand Up @@ -81,20 +83,6 @@ jobs:
sudo ACCEPT_EULA=Y apt-get install -y mssql-tools unixodbc-dev
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc
source ~/.bashrc
# - name: Download and install Oracle SQLcl
# run: |
# curl -L -o sqlcl.zip https://download.oracle.com/otn_software/java/sqldeveloper/sqlcl-latest.zip
# unzip sqlcl.zip -d sqlcl
# echo "$PWD/sqlcl/sqlcl/bin" >> $GITHUB_PATH
# - name: Run SQL script with Oracle SQLcl
# run: |
# echo "create user test identified by test;" > setup.sql
# echo "grant connect, resource to test;" >> setup.sql
# sql /nolog <<EOF
# connect system/testpass@//localhost:1521/XEPDB1
# @setup.sql
# exit
# EOF
- name: Create SQLServer database
run: |
/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 'YourStrong@Passw0rd' -Q "CREATE DATABASE [Whatever];"
Expand Down
38 changes: 13 additions & 25 deletions .github/workflows/dotnetpull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,19 @@ jobs:
--health-timeout=5s
--health-retries=5

# oracle:
# image: gvenzl/oracle-xe:21.3.0-slim
# ports:
# - 1521:1521
# env:
# ORACLE_PASSWORD: testpass
# options: >-
# --health-cmd "echo 'exit' | sqlplus -L system/oracle@localhost/XEPDB1"
# --health-interval=25s
# --health-timeout=20s
# --health-retries=20
oracle:
image: gvenzl/oracle-free:latest
ports:
- 1521:1521
env:
ORACLE_RANDOM_PASSWORD: true
APP_USER: test
APP_USER_PASSWORD: test
options: >-
--health-cmd healthcheck.sh
--health-interval 10s
--health-timeout 5s
--health-retries 10

mysql:
image: mysql:8.0
Expand Down Expand Up @@ -79,20 +81,6 @@ jobs:
sudo ACCEPT_EULA=Y apt-get install -y mssql-tools unixodbc-dev
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc
source ~/.bashrc
# - name: Download and install Oracle SQLcl
# run: |
# curl -L -o sqlcl.zip https://download.oracle.com/otn_software/java/sqldeveloper/sqlcl-latest.zip
# unzip sqlcl.zip -d sqlcl
# echo "$PWD/sqlcl/sqlcl/bin" >> $GITHUB_PATH
# - name: Run SQL script with Oracle SQLcl
# run: |
# echo "create user test identified by test;" > setup.sql
# echo "grant connect, resource to test;" >> setup.sql
# sql /nolog <<EOF
# connect system/testpass@//localhost:1521/XEPDB1
# @setup.sql
# exit
# EOF
- name: Create SQLServer database
run: |
/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 'YourStrong@Passw0rd' -Q "CREATE DATABASE [Whatever];"
Expand Down
8 changes: 4 additions & 4 deletions src/Migrator.Tests/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"Id": "PostgreSQL",
"ConnectionString": "Server=localhost;Port=5432;Database=testdb;User Id=testuser;Password=testpass;"
},
//{
// "Id": "Oracle",
// "ConnectionString": "Data Source=//localhost:1521/XEPDB1;User Id=test;Password=test;"
//},
{
"Id": "Oracle",
"ConnectionString": "Data Source=//localhost:1521/FREEPDB1;User Id=test;Password=test;"
},
{
"Id": "MySQL",
"ConnectionString": "Server=127.0.0.1;Port=3306;Database=testdb;User Id=testuser;Password=testpass;"
Expand Down
Loading