Merge pull request #32 from sdglitched/renovate/ruff-0.x #105
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 database, server and alembic configuration files | |
| run: | | |
| mv fastapi_ecom/config/config.py.example fastapi_ecom/config/config.py | |
| mv fastapi_ecom/migrations/alembic.ini.example fastapi_ecom/migrations/alembic.ini | |
| - name: Check the functionality of the code | |
| run: | | |
| tox -e ${{ matrix.tox-env }} |