Skip to content

Commit 89d8aa1

Browse files
committed
Add CI workflow for backend linting and testing
- Introduced a GitHub Actions workflow for continuous integration of the backend. - Configured linting steps using Flake8, Black, and isort. - Added testing steps to run pytest. - Updated .gitignore to include .pytest_cache directory.
1 parent 9e521d2 commit 89d8aa1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

commitly-backend/.github/workflows/ci.yml renamed to .github/workflows/commitly-backend-ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
name: CI
1+
name: Commitly Backend CI
22

33
on:
44
push:
55
branches: [ main ]
66
paths:
77
- 'commitly-backend/**'
8-
- '.github/workflows/ci.yml'
8+
- '.github/workflows/commitly-backend-ci.yml'
99
pull_request:
1010
paths:
1111
- 'commitly-backend/**'
12-
- '.github/workflows/ci.yml'
12+
- '.github/workflows/commitly-backend-ci.yml'
1313

1414
jobs:
1515
lint:
@@ -91,3 +91,4 @@ jobs:
9191
run: |
9292
pytest -q
9393
94+

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ cursor-logs.md
44
*.sql
55
__pypackages__/
66
__pycache__
7+
.pytest_cache/
78
venv
89

910
# Dependencies

0 commit comments

Comments
 (0)