Skip to content

Commit 3a57ea4

Browse files
committed
fix: add decimal repo test in ci
1 parent 94dba61 commit 3a57ea4

File tree

1 file changed

+28
-9
lines changed

1 file changed

+28
-9
lines changed

ci/run_tests_pipeline.yaml

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,28 +36,39 @@ stages:
3636
submodules: true
3737
- task: UsePythonVersion@0
3838
inputs:
39-
versionSpec: '3.12'
39+
versionSpec: "3.12"
4040
- script: |
4141
python3 --version
4242
python3 -m pip install cython
4343
displayName: "Install cython"
4444
- script: python3 ci/pip_install_deps.py
4545
displayName: "Install pandas latest"
4646
condition: eq(variables.pandasVersion, '')
47-
- script: python3 ci/pip_install_deps.py --pandas-version==$(pandasVersion)
47+
- script: python3 ci/pip_install_deps.py --pandas-version==$(pandasVersion)
4848
displayName: "Install pandas older"
4949
condition: ne(variables.pandasVersion, '')
5050
- script: python3 proj.py build
5151
displayName: "Build"
5252
- script: |
5353
git clone --depth 1 https://github.com/questdb/questdb.git
54-
displayName: git clone questdb
54+
displayName: git clone questdb master
5555
condition: eq(variables.vsQuestDbMaster, true)
5656
- task: Maven@3
57-
displayName: "Compile QuestDB"
57+
displayName: "Compile QuestDB master"
5858
inputs:
59-
mavenPOMFile: 'questdb/pom.xml'
60-
jdkVersionOption: '1.17'
59+
mavenPOMFile: "questdb/pom.xml"
60+
jdkVersionOption: "1.17"
61+
options: "-DskipTests -Pbuild-web-console"
62+
condition: eq(variables.vsQuestDbMaster, true)
63+
- script: |
64+
git clone --depth 1 --branch rd_decimal_integration https://github.com/questdb/questdb.git questdb-decimal
65+
displayName: git clone questdb decimal branch
66+
condition: eq(variables.vsQuestDbMaster, true)
67+
- task: Maven@3
68+
displayName: "Compile QuestDB decimal branch"
69+
inputs:
70+
mavenPOMFile: "questdb-decimal/pom.xml"
71+
jdkVersionOption: "1.17"
6172
options: "-DskipTests -Pbuild-web-console"
6273
condition: eq(variables.vsQuestDbMaster, true)
6374
- script: python3 proj.py test 1
@@ -68,7 +79,15 @@ stages:
6879
displayName: "Test vs master"
6980
env:
7081
JAVA_HOME: $(JAVA_HOME_17_X64)
71-
QDB_REPO_PATH: './questdb'
82+
QDB_REPO_PATH: "./questdb"
83+
condition: eq(variables.vsQuestDbMaster, true)
84+
# Remove before merging decimal support PR
85+
- script: python3 proj.py test 1
86+
displayName: "Test vs decimal"
87+
env:
88+
JAVA_HOME: $(JAVA_HOME_17_X64)
89+
QDB_REPO_PATH: "./questdb-decimal"
90+
TEST_QUESTDB_INTEGRATION_FORCE_MAX_VERSION: "1"
7291
condition: eq(variables.vsQuestDbMaster, true)
7392
- job: TestsAgainstVariousNumpyVersion1x
7493
pool:
@@ -82,7 +101,7 @@ stages:
82101
submodules: true
83102
- task: UsePythonVersion@0
84103
inputs:
85-
versionSpec: '3.9'
104+
versionSpec: "3.9"
86105
- script: |
87106
python3 --version
88107
python3 -m pip install uv
@@ -106,7 +125,7 @@ stages:
106125
submodules: true
107126
- task: UsePythonVersion@0
108127
inputs:
109-
versionSpec: '3.11'
128+
versionSpec: "3.11"
110129
- script: |
111130
python3 --version
112131
python3 -m pip install uv

0 commit comments

Comments
 (0)