Skip to content

fixes for code analysis #13

fixes for code analysis

fixes for code analysis #13

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches:
- '**' # Run on all branches
jobs:
test:
runs-on: ubuntu-latest
services:
redis:
image: redis:alpine
ports:
- 6379:6379
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install flake8 black bandit mypy types-requests
- name: Run tests
run: pytest -v
- name: Run Flake8
run: flake8 .
- name: Run Black
run: black --check .
- name: Run Bandit
run: bandit -r .
- name: Run mypy
run: mypy .