Skip to content

Add image tag arg to default stage in docker matrix #54

Add image tag arg to default stage in docker matrix

Add image tag arg to default stage in docker matrix #54

Workflow file for this run

name: Code Analysis
on:
push:
branches:
- '**'
jobs:
CodeAnalysis:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/[email protected]
with:
python-version: 3.x
- name: Display Python version
run: |
python --version
- name: Install dependencies
run: |
pip install poetry
poetry install --with dev
- name: Check for outdated dependencies
if: env.skip-job != 'true'
run: |
poetry show --outdated --only main
- name: Run tests with coverage in latest stable 3.x
run: |
poetry run pytest --cov=app --cov-report=term-missing
continue-on-error: false
- name: Run Bandit for security analysis
run: |
poetry run bandit -r app
continue-on-error: false
- name: Run Ruff for linting
run: |
poetry run ruff check .
continue-on-error: false
- name: Run Vulture for dead code analysis
run: |
poetry run vulture . --min-confidence 70
continue-on-error: false