File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 - name : Setup Node
2424 uses : actions/setup-node@v6
2525 with :
26- node-version : " 20"
26+ node-version : " 24"
27+ cache : " npm"
28+ cache-dependency-path : |
29+ package-lock.json
30+ app/package-lock.json
2731
2832 - name : Install frontend dependencies
2933 working-directory : ./app
4246 with :
4347 python-version : " 3.12"
4448
49+ - name : Install uv
50+ uses : astral-sh/setup-uv@v5
51+ with :
52+ version : " latest"
53+
4554 - name : Install backend dependencies
46- run : pip install -e ".[ test]"
55+ run : uv sync --extra test
4756
4857 docker-build :
4958 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1313 test :
1414 timeout-minutes : 60
1515 runs-on : ubuntu-latest
16+ env :
17+ PYTHONPATH : ${{ github.workspace }}
1618 strategy :
1719 fail-fast : false
1820 matrix :
@@ -28,13 +30,22 @@ jobs:
2830 - uses : actions/setup-node@v6
2931 with :
3032 node-version : 24
33+ cache : ' npm'
34+ cache-dependency-path : |
35+ package-lock.json
36+ app/package-lock.json
3137
3238 - uses : actions/setup-python@v6
3339 with :
3440 python-version : ' 3.12'
3541
42+ - name : Install uv
43+ uses : astral-sh/setup-uv@v5
44+ with :
45+ version : " latest"
46+
3647 - name : Install backend dependencies
37- run : pip install -e .
48+ run : uv sync
3849
3950 - name : Install frontend dependencies
4051 working-directory : ./app
4758 run : npm run build
4859
4960 - name : Seed test data into FalkorDB
50- run : python e2e/seed_test_data.py
61+ run : uv run python e2e/seed_test_data.py
5162
5263 - name : Install Playwright npm dependencies
5364 run : |
7788 CODE_GRAPH_PUBLIC : " 1"
7889 MODEL_NAME : " openai/gpt-4.1-mini"
7990 run : |
80- flask --app api/index.py run --host 0.0.0.0 --port 5000 &
91+ uv run flask --app api/index.py run --host 0.0.0.0 --port 5000 &
8192 # Wait for Flask to be ready
8293 timeout 30 bash -c 'until curl -s http://localhost:5000/ > /dev/null 2>&1; do sleep 0.5; done'
8394 npx playwright test --shard=${{ matrix.shard }}/2 --reporter=dot,list
You can’t perform that action at this time.
0 commit comments