Skip to content

chore: validating github actions pr-check #3

chore: validating github actions pr-check

chore: validating github actions pr-check #3

Workflow file for this run

name: PR Checks
on:
pull_request: #runs on all branches
jobs:
pr-validation:
name: Run PR Checks
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set Up Python
uses: actions/setup-python@v4
with:
python-version: "3.13"
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run Linter
run: pylint mssql_python/
continue-on-error: true
- name: Run Tests (pytest)
run: |
pip install pytest
pytest --maxfail=5 --disable-warnings --tb=short
- name: Run Security Scan (Bandit)
run: |
pip install bandit
bandit -r . --exclude tests/