-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (28 loc) · 873 Bytes
/
tests.yml
File metadata and controls
36 lines (28 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
name: Checking code functionality
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci-qlty:
runs-on: ubuntu-latest
container: fedorapython/fedora-python-tox:latest
strategy:
fail-fast: false
matrix:
tox-env: ["py312","py313"]
steps:
- name: Checkout the codebase current state
uses: actions/checkout@v6
- 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 }}