Skip to content

Update security-scan.yml #43

Update security-scan.yml

Update security-scan.yml #43

Workflow file for this run

# .github/workflows/unit-tests.yml
name: CI – Unit Tests
on:
push:
pull_request:
permissions:
contents: read
jobs:
python-tests:
name: Python Tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Run pytest
run: |
pytest tests || echo "No Python tests found"