Configure automated code quality and functionality checks #6
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| 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 }} |