File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed
Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - dev
8+ pull_request :
9+ branches :
10+ - " **"
11+
12+ jobs :
13+ format-core :
14+ name : ' Format Core'
15+ runs-on : ubuntu-latest
16+
17+ strategy :
18+ matrix :
19+ python-version : [3.12]
20+
21+ steps :
22+ - name : Checkout Repository
23+ uses : actions/checkout@v4
24+
25+ - name : Set up Python
26+ uses : actions/setup-python@v4
27+ with :
28+ python-version : ${{ matrix.python-version }}
29+
30+ - name : Install Dependencies
31+ run : |
32+ python -m pip install --upgrade pip
33+ pip install black
34+
35+ - name : Format Backend
36+ run : |
37+ black version_1/ version_2/
38+
39+ - name : Post Formatting Check
40+ run : git diff --exit-code
Original file line number Diff line number Diff line change @@ -123,4 +123,4 @@ SELECT
123123-- Database: AIFAQ_VERSION1_DB
124124-- Schema: APP_SCHEMA
125125-- Warehouse: AIFAQ_WAREHOUSE
126- -- Tables: DOCUMENTS, CHUNKS, EMBEDDINGS, CHAT_HISTORY
126+ -- Tables: DOCUMENTS, CHUNKS, EMBEDDINGS, CHAT_HISTORY
You can’t perform that action at this time.
0 commit comments