Skip to content

Commit 736c5e0

Browse files
committed
refactor:updated pr-check yml to add stage name
1 parent 40f4732 commit 736c5e0

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/pr-check.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
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: |

0 commit comments

Comments
 (0)