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 : Install dependencies
2424 run : npm ci
2525
26+ - name : Generate SDKs
27+ run : npm run generate:sdk:all --workspace=pmxt-core
28+
2629 - name : Run Tests (All Workspaces)
2730 run : npm test --workspaces
2831
@@ -45,10 +48,19 @@ jobs:
4548 steps :
4649 - uses : actions/checkout@v4
4750
51+ - uses : actions/setup-node@v4
52+ with :
53+ node-version : ' 20'
54+
4855 - uses : actions/setup-python@v5
4956 with :
5057 python-version : ' 3.x'
5158
59+ - name : Generate SDKs
60+ run : |
61+ npm ci
62+ npm run generate:sdk:all --workspace=pmxt-core
63+
5264 - name : Install build tools & dependencies
5365 run : pip install build twine pytest .
5466 working-directory : sdks/python
Original file line number Diff line number Diff line change 2323 - name : Install dependencies (Root)
2424 run : npm ci
2525
26+ - name : Generate SDKs
27+ run : npm run generate:sdk:all --workspace=pmxt-core
28+
2629 - name : Build All Workspaces
2730 run : npm run build --workspaces
2831
32+ - name : Start PMXT Server
33+ run : |
34+ npm run server --workspace=pmxt-core &
35+ # Wait for server to be ready
36+ echo "Waiting for server to start..."
37+ timeout 30 bash -c 'until curl -s http://localhost:3000/health > /dev/null; do sleep 1; done'
38+ echo "Server is ready!"
39+
2940 - name : Test All Workspaces
3041 run : npm test --workspaces
3142
5263 pip install .
5364 working-directory : sdks/python
5465
66+ - uses : actions/setup-node@v4
67+ with :
68+ node-version : ' 20'
69+
70+ - name : Install Node dependencies & Start Server
71+ run : |
72+ npm ci
73+ npm run generate:sdk:all --workspace=pmxt-core
74+ npm run build --workspace=pmxt-core
75+ npm run server --workspace=pmxt-core &
76+ # Wait for server
77+ timeout 30 bash -c 'until curl -s http://localhost:3000/health > /dev/null; do sleep 1; done'
78+
5579 - name : Run Tests
5680 run : pytest
5781 working-directory : sdks/python
Original file line number Diff line number Diff line change @@ -49,9 +49,9 @@ Repository = "https://github.com/qoery-com/pmxt"
4949Issues = " https://github.com/qoery-com/pmxt/issues"
5050
5151[tool .setuptools .packages .find ]
52- where = [" ." ]
53- include = [" pmxt*" ]
54- exclude = [" tests*" , " generated* " ]
52+ where = [" ." , " generated " ]
53+ include = [" pmxt*" , " pmxt_internal* " ]
54+ exclude = [" tests*" ]
5555
5656[tool .black ]
5757line-length = 100
You can’t perform that action at this time.
0 commit comments