Skip to content

Commit 9422668

Browse files
committed
Configure automated code functionality checks
Signed-off-by: Shounak Dey <shounakdey@ymail.com>
1 parent c539758 commit 9422668

2 files changed

Lines changed: 33 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Checking code functionality
3+
4+
on: [push, pull_request]
5+
6+
jobs:
7+
8+
ci-qlty:
9+
10+
runs-on: ubuntu-latest
11+
12+
container: fedorapython/fedora-python-tox:latest
13+
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
tox-env: ["py312"]
18+
19+
steps:
20+
21+
- name: Checkout the codebase current state
22+
uses: actions/checkout@v4
23+
24+
- name: Install the base dependencies
25+
run: |
26+
python3 -m pip install --upgrade poetry tox
27+
28+
- name: Check the quality of the code
29+
run: |
30+
tox -e ${{ matrix.tox-env }}

fastapi_ecom/config/config.py.example

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# The database name
2-
database = ""
2+
database = "test_db"
33

44
# The username for the database user
5-
username = ""
5+
username = "test_user"
66

77
# The password for the database user
8-
password = ""
8+
password = "test_pwd"
99

1010
# The location of serving the database service
1111
dtbsbhost = "localhost"

0 commit comments

Comments
 (0)