Skip to content

Commit 1e7ad7d

Browse files
authored
Revert sqlcmd command to one
1 parent 6a17285 commit 1e7ad7d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/test-phpunit.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,7 @@ jobs:
8282
steps:
8383
- name: Create database for MSSQL Server
8484
if: matrix.db-platforms == 'SQLSRV'
85-
run: |
86-
if [ ${{ matrix.php-versions == '8.0' }} ]; then
87-
sqlcmd -S localhost,1433 -U sa -P 1Secure*Password1 -Q "CREATE DATABASE test"
88-
else
89-
sqlcmd -S 127.0.0.1,1433 -U sa -P 1Secure*Password1 -Q "CREATE DATABASE test"
90-
fi
85+
run: sqlcmd -S 127.0.0.1,1433 -U sa -P 1Secure*Password1 -Q "CREATE DATABASE test"
9186

9287
- name: Checkout
9388
uses: actions/checkout@v2

0 commit comments

Comments
 (0)