Skip to content

Commit 122378d

Browse files
authored
Update openmis-module-test.yml
1 parent 080e2b1 commit 122378d

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/openmis-module-test.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@ jobs:
4646
python -m pip install --upgrade pip
4747
- name: DB migration 1.42
4848
run: |
49-
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -Q 'DROP DATABASE IF EXISTS imis.1.4.2'
50-
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -Q 'CREATE DATABASE imis.1.4.2'
51-
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis.1.4.2 -i 1.42/openIMIS_ONLINE.sql | grep . | uniq -c
52-
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis.1.4.2 -i "new/Migration script/openIMIS migration latest.sql" | grep . | uniq -c
49+
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -Q 'DROP DATABASE IF EXISTS imis_1_4_2'
50+
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -Q 'CREATE DATABASE imis_1_4_2'
51+
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis_1_4_2 -i 1.42/openIMIS_ONLINE.sql | grep . | uniq -c
52+
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis_1_4_2 -i "new/Migration script/openIMIS migration latest.sql" | grep . | uniq -c
53+
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis_1_4_2 -i "new/Demo database/openIMIS_demo_ONLINE.sql" | grep . | uniq -c
5354
env:
5455
SA_PASSWORD: GitHub999
5556
ACCEPT_EULA: Y
@@ -59,6 +60,7 @@ jobs:
5960
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -Q 'CREATE DATABASE imis'
6061
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis -i "new/Empty databases/openIMIS_ONLINE.sql" | grep . | uniq -c
6162
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis -i "new/Demo database/openIMIS_demo_ONLINE.sql" | grep . | uniq -c
63+
6264
env:
6365
SA_PASSWORD: GitHub999
6466
ACCEPT_EULA: Y
@@ -69,6 +71,8 @@ jobs:
6971
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis_main -i oldMain/openIMIS_ONLINE.sql | grep . | uniq -c
7072
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis_main -i oldMain/openIMIS_demo_ONLINE.sql | grep . | uniq -c
7173
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis_main -i "new/Migration script/openIMIS migration latest.sql" | grep . | uniq -c
74+
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis_main -i "new/Demo database/openIMIS_demo_ONLINE.sql" | grep . | uniq -c
75+
7276
env:
7377
SA_PASSWORD: GitHub999
7478
ACCEPT_EULA: Y
@@ -120,7 +124,7 @@ jobs:
120124
#DJANGO_SETTINGS_MODULE: hat.settings
121125
DB_HOST: localhost
122126
DB_PORT: 1433
123-
DB_NAME: imis.1.4.2
127+
DB_NAME: imis_1_4_2
124128
DB_USER: sa
125129
DB_PASSWORD: GitHub999
126130
#DEV_SERVER: true

0 commit comments

Comments
 (0)