Skip to content

Commit 9bfdf62

Browse files
author
Janne Rönkkö
committed
Do not require sqlcmd to be installed on the GHA runner when setting up e2e environment
1 parent 70ddf79 commit 9bfdf62

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

github-actions/setup-e2e-environment/action.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,7 @@ runs:
153153
env:
154154
SA_PASSWORD: "P@ssw0rd"
155155
with:
156-
command:
157-
'sqlcmd -S 127.0.0.1 -U sa -P "$SA_PASSWORD" -d master -Q "SELECT
158-
''OK'';"'
156+
command: docker compose -f ${{ github.workspace }}/docker/docker-compose.yml ${{ inputs.custom_docker_compose != '' && format('-f {0}', inputs.custom_docker_compose) || '' }} exec jore4-mssqltestdb /opt/mssql-tools18/bin/sqlcmd -C -S 127.0.0.1 -U sa -P "$SA_PASSWORD" -d master -Q "SELECT ''OK'';"
159157
# it takes a while for the database to start
160158
retries: 50
161159

0 commit comments

Comments
 (0)