File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 2222 python -m pip install --upgrade pip
2323 if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
2424
25+ - name : Run Tests (pytest)
2526 # Start LocalDB instance
2627 - powershell : |
2728 sqllocaldb create MSSQLLocalDB
@@ -53,19 +54,11 @@ jobs:
5354 displayName: 'Run tests with coverage'
5455 env:
5556 DB_CONNECTION_STRING: 'Server=(localdb)\MSSQLLocalDB;Database=TestDB;Uid=testuser;Pwd=$(DB_PASSWORD);TrustServerCertificate=yes'
56- continue-on-error: true
5757
5858 - name : Run Linter
5959 run : |
6060 pip install pylint
6161 pylint pylint mssql_python/
62- continue-on-error : true
63-
64- - name : Run Tests (pytest)
65- run : |
66- pip install pytest
67- python -m pytest -v --junitxml=test-results.xml --cov=. --cov-report=xml --capture=tee-sys --cache-clear
68- continue-on-error : true
6962
7063 - name : Run Security Scan (Bandit)
7164 run : |
You can’t perform that action at this time.
0 commit comments