File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 pull-requests : write
1515 services :
1616 sqlserver :
17- image : mcr.microsoft.com/mssql/server :2022-latest
17+ image : ghcr.io/posinformatique/mssql-sqlcmd :2022-1.0.0-alpha.1
1818 env :
1919 SA_PASSWORD : " P@ssw0rd12345!"
2020 ACCEPT_EULA : " Y"
@@ -36,18 +36,10 @@ jobs:
3636 - name : Build solution
3737 run : dotnet build PosInformatique.Testing.Databases.sln --configuration Release --no-restore
3838
39- - name : Install SQL Server command-line tools
40- run : |
41- curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
42- curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
43- sudo apt-get update
44- sudo apt-get install -y mssql-tools
45- echo "/opt/mssql-tools/bin" >> $GITHUB_PATH
46-
4739 - name : Prepare SQL databases directory
4840 run : |
4941 # Give the rights to the 'mssql' user to read/write in the /tmp/other_databases_path directory.
50- docker exec --user root $(docker ps -qf "ancestor=mcr.microsoft.com/mssql/server :2022-latest ") chown -R mssql:mssql /tmp/other_databases_path
42+ docker exec --user root $(docker ps -qf "ghcr.io/posinformatique/mssql-sqlcmd :2022-1.0.0-alpha.1 ") chown -R mssql:mssql /tmp/other_databases_path
5143
5244 - name : Run tests
5345 run : |
You can’t perform that action at this time.
0 commit comments