Skip to content

Fix command to use ruff #5

Fix command to use ruff

Fix command to use ruff #5

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
push:
branches:
- github-ci
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
pip install poetry
poetry install --with dev
- name: Run tests
run: |
poetry run pytest
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