Files
watcher-visio/.gitea/workflows/ci.yml
Nikolay Tatarinov 0a3c0ac54d
All checks were successful
CI / ci (push) Successful in 14s
CI / ci (pull_request) Successful in 14s
Update CI workflow to streamline security checks
- Removed the Safety security check from the CI workflow in ci.yml to simplify the process.
- Retained the installation of Ruff and Bandit for linting and security checks, ensuring continued code quality and security assessment.
2026-02-07 18:05:40 +03:00

37 lines
807 B
YAML

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: https://gitea.com/actions/checkout@v4
- name: Set up Python
uses: https://gitea.com/actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: pip install -r requirements.txt
- name: Install lint and security tools
run: pip install ruff bandit
- name: Lint with Ruff
run: ruff check dashboard watcher_visio
- name: Run tests
env:
USE_MOCK_DATA: "true"
run: python manage.py test dashboard
- name: Security check with Bandit
run: bandit -r dashboard watcher_visio -ll