@@ -9,13 +9,6 @@ environment:
99 secure : ' E5I+i+CQyj9EHusDrPSQKHRXmzmpTujYAoFxlvJjvSRSEQHHzqTBIFR1VuPbwLMi'
1010
1111 APPVEYOR_RDP_PASSWORD : Np^VNSzJI5#OmRdUNqro2T9UVkCdZ
12- MSSQL_LOGIN : sa
13- MSSQL_PASS : Password12!
14- TSQLTSETCLR : tests\tSQLt\SetClrEnabled.sql
15- TSQLTCREATEDB : tests\tSQLt\CreateDatabase.sql
16- TSQLTINSTALL : tests\tSQLt\tSQLt.class.sql
17- TSQLTBUILDPATH : tests\build
18- TSQLTTESTPATH : tests\run
1912 TARGET_DB : tSQLt
2013 COV_REPORT : appveyor\sqlcover\Coverage.opencoverxml
2114
@@ -47,30 +40,28 @@ environment:
4740 LINT_CONFIG : appveyor\tsqllint\.tsqllintrc_110
4841
4942clone_script :
50- - git config --global credential.helper store
51- -
ps :
Add-Content "$HOME\.git-credentials" "https://$($env:access_token):[email protected] `n" -NoNewLine 52- -
git config --global user.email "[email protected] " 53- - git config --global user.name "Appveyor"
54- - git config --global core.safecrlf false
55- - git clone -q --single-branch --branch=%APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH% https://github.com/LowlyDBA/ExpressSQL.git %APPVEYOR_BUILD_FOLDER%
56- - cd %APPVEYOR_BUILD_FOLDER%
43+ - git config --global credential.helper store
44+ -
ps :
Add-Content "$HOME\.git-credentials" "https://$($env:access_token):[email protected] `n" -NoNewLine 45+ -
git config --global user.email "[email protected] " 46+ - git config --global user.name "Appveyor"
47+ - git config --global core.safecrlf false
48+ - git clone -q --single-branch --branch=%APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH% https://github.com/LowlyDBA/ExpressSQL.git %APPVEYOR_BUILD_FOLDER%
49+ - cd %APPVEYOR_BUILD_FOLDER%
5750
5851install :
59- - ps : Install-Module SqlServer -Force -AllowClobber
60- - npm install tsqllint -g
61- - ps : .\appveyor\start_sqlserver.ps1
62- - ps : .\appveyor\install_tsqlt.ps1
52+ - ps : .\appveyor\install_dependencies.ps1
53+ - ps : .\appveyor\start_sqlserver.ps1
54+ - ps : .\appveyor\install_tsqlt.ps1
6355
6456build_script :
65- - ps : .\appveyor\make_combined_script.ps1
66- - ps : .\appveyor\install_expsql.ps1
67- - ps : .\appveyor\build_tsqlt_tests.ps1
68- - echo Running TSQLLint tests
69- - npx tsqllint -c %LINT_CONFIG% *.sql
57+ - ps : .\appveyor\make_combined_script.ps1
58+ - ps : .\appveyor\install_expsql.ps1
59+ - ps : .\appveyor\build_tsqlt_tests.ps1
7060
7161# Non-covered test run
7262test_script :
73- - ps : .\appveyor\run_tsqlt_tests.ps1
63+ - ps : .\appveyor\run_tsqllint.ps1
64+ - ps : .\appveyor\run_tsqlt_tests.ps1
7465
7566# Only run code cov & push changes on latest build env
7667for :
8172
8273 # Setup codecov, SQL Cover
8374 before_test :
84- - ps : Install-Package GOEddie.SQLCover -Force | Out-Null
85- - ps : choco install codecov --no-progress --limit-output | Out-Null
75+ - ps : .\appveyor\install_coverage_dependencies.ps1
8676
8777 # Run tests with SQL Cover analysis
8878 test_script :
0 commit comments