44 workflow_call :
55 inputs :
66 python_versions :
7- description : ' Python versions to test (as json array)'
7+ description : " Python versions to test (as json array)"
88 required : false
99 default : ' ["3.9"]'
1010 type : string
1111 property_testing_preset :
12- description : ' Property testing preset'
12+ description : " Property testing preset"
1313 required : true
1414 type : string
1515 runner :
16- description : ' Runner to test on (string)'
16+ description : " Runner to test on (string)"
1717 required : false
18- default : ' blacksmith-8vcpu-ubuntu-2404'
18+ default : " blacksmith-8vcpu-ubuntu-2404"
1919 type : string
2020
2121jobs :
3131 - " chromadb/test/property/test_cross_version_persist.py"
3232 include :
3333 - test-glob : " chromadb/test/property --ignore-glob chromadb/test/property/test_cross_version_persist.py"
34- parallelized : false # Disabled to fix INTERNALERROR crashes in CI
34+ parallelized : false # Disabled to fix INTERNALERROR crashes in CI
3535
3636 runs-on : ${{ inputs.runner }}
3737 steps :
@@ -76,20 +76,20 @@ jobs:
7676 - " chromadb/test/stress"
7777 runs-on : ${{ inputs.runner }}
7878 steps :
79- - name : Checkout
80- uses : actions/checkout@v4
81- - name : Setup Python (${{ matrix.python }})
82- uses : ./.github/actions/python
83- - name : Setup Rust
84- uses : ./.github/actions/rust
85- with :
79+ - name : Checkout
80+ uses : actions/checkout@v4
81+ - name : Setup Python (${{ matrix.python }})
82+ uses : ./.github/actions/python
83+ - name : Setup Rust
84+ uses : ./.github/actions/rust
85+ with :
8686 github-token : ${{ github.token }}
87- - name : Rust Integration Test
88- run : bin/rust-integration-test.sh ${{ matrix.test-glob }}
89- shell : bash
90- env :
91- ENV_FILE : ${{ contains(inputs.runner, 'ubuntu') && 'compose-env.linux' || 'compose-env.windows' }}
92- PROPERTY_TESTING_PRESET : ${{ inputs.property_testing_preset }}
87+ - name : Rust Integration Test
88+ run : bin/rust-integration-test.sh ${{ matrix.test-glob }}
89+ shell : bash
90+ env :
91+ ENV_FILE : ${{ contains(inputs.runner, 'ubuntu') && 'compose-env.linux' || 'compose-env.windows' }}
92+ PROPERTY_TESTING_PRESET : ${{ inputs.property_testing_preset }}
9393
9494 test-rust-thin-client :
9595 strategy :
@@ -232,27 +232,27 @@ jobs:
232232 python : ${{ fromJson(inputs.python_versions) }}
233233 runs-on : ${{ inputs.runner }}
234234 steps :
235- - name : Checkout
236- uses : actions/checkout@v4
237- - name : Setup Python (${{ matrix.python }})
238- uses : ./.github/actions/python
239- - name : Setup Rust
240- uses : ./.github/actions/rust
241- with :
242- github-token : ${{ github.token }}
243- - name : Build Rust bindings
244- uses : PyO3/maturin-action@v1
245- with :
246- command : build
247- - name : Install built wheel
248- shell : bash
249- run : pip install --no-index --find-links target/wheels/ chromadb
250- - name : Integration Test
251- run : python -m pytest "chromadb/test/test_cli.py"
252- shell : bash
253- env :
254- ENV_FILE : ${{ contains(inputs.runner, 'ubuntu') && 'compose-env.linux' || 'compose-env.windows' }}
255- PROPERTY_TESTING_PRESET : ${{ inputs.property_testing_preset }}
235+ - name : Checkout
236+ uses : actions/checkout@v4
237+ - name : Setup Python (${{ matrix.python }})
238+ uses : ./.github/actions/python
239+ - name : Setup Rust
240+ uses : ./.github/actions/rust
241+ with :
242+ github-token : ${{ github.token }}
243+ - name : Build Rust bindings
244+ uses : PyO3/maturin-action@v1
245+ with :
246+ command : build
247+ - name : Install built wheel
248+ shell : bash
249+ run : pip install --no-index --find-links target/wheels/ chromadb
250+ - name : Integration Test
251+ run : python -m pytest "chromadb/test/test_cli.py"
252+ shell : bash
253+ env :
254+ ENV_FILE : ${{ contains(inputs.runner, 'ubuntu') && 'compose-env.linux' || 'compose-env.windows' }}
255+ PROPERTY_TESTING_PRESET : ${{ inputs.property_testing_preset }}
256256
257257 test-windows-smoke :
258258 # only run windows smoke tests when the runner isn't already windows,
@@ -263,7 +263,7 @@ jobs:
263263 fail-fast : false
264264 matrix :
265265 python : ${{ fromJson(inputs.python_versions) }}
266- runs-on : 8core-32gb -windows-latest
266+ runs-on : blacksmith-8vcpu -windows-2025
267267 steps :
268268 - name : Checkout
269269 uses : actions/checkout@v4
0 commit comments