Skip to content

Configure automated code quality and functionality checks #6

Configure automated code quality and functionality checks

Configure automated code quality and functionality checks #6

Workflow file for this run

---
name: Checking code functionality
on: [push, pull_request]
jobs:
ci-qlty:
runs-on: ubuntu-latest
container: fedorapython/fedora-python-tox:latest
strategy:
fail-fast: false
matrix:
tox-env: ["py312"]
steps:
- name: Checkout the codebase current state
uses: actions/checkout@v4
- name: Install the base dependencies
run: |
python3 -m pip install --upgrade poetry tox
- name: Copy the default configuration file
run: |
mv fastapi_ecom/config/config.py.example config.py
- name: Check the quality of the code
run: |
tox -e ${{ matrix.tox-env }}