Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

Refactor documentation 2 #7

Refactor documentation 2

Refactor documentation 2 #7

name: Code Analysis (Lint + Security)
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
analysis_and_tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies from requirements.txt
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install bandit pylint # Explicitly installing tools if not in requirements.txt
- name: Run Bandit security analysis
run: |
bandit -r dracan/
continue-on-error: false
- name: Run Pylint (exclude line-too-long warning)
run: |
pylint --disable=C0301 dracan/
continue-on-error: true