Skip to content

Commit 48ef5e8

Browse files
committed
Docs: Log running test stages
1 parent 6dc574f commit 48ef5e8

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

.github/workflows/prerelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ jobs:
306306
push: false
307307

308308
build_wheels:
309-
name: Build Python ${{ matrix.python-version }} for ${{ matrix.os }}
309+
name: Build Python Wheels
310310
runs-on: ${{ matrix.os }}
311311
needs: [test_ubuntu_gcc, test_ubuntu_clang, test_macos, test_windows]
312312
strategy:

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
force: True
6262

6363
create_linux_deb_package:
64-
name: Create Debian Package for ${{ matrix.arch }}
64+
name: Create Debian Package
6565
runs-on: ubuntu-22.04
6666
needs: versioning
6767
env:
@@ -137,7 +137,7 @@ jobs:
137137
update_latest_release: true
138138

139139
create_windows_dll_library:
140-
name: Create Dll Library for Windows ${{ matrix.arch }}
140+
name: Create Dll Library for Windows
141141
runs-on: windows-2022
142142
needs: versioning
143143
strategy:
@@ -188,7 +188,7 @@ jobs:
188188
update_latest_release: true
189189

190190
create_macos_dylib_library:
191-
name: Create Library for MacOS ${{ matrix.arch }}
191+
name: Create Library for MacOS
192192
runs-on: macos-12
193193
needs: versioning
194194
strategy:
@@ -244,7 +244,7 @@ jobs:
244244
update_latest_release: true
245245

246246
create_wasm_library:
247-
name: WASM builds for C libraries on ${{ matrix.os }}
247+
name: WASM builds for C libraries
248248
runs-on: ${{ matrix.os }}
249249
needs: versioning
250250
strategy:
@@ -396,7 +396,7 @@ jobs:
396396
* ${{ steps.hashes.outputs.asset_name_15 }} : `${{ steps.hashes.outputs.asset_hash_15 }}`
397397
398398
build_wheels:
399-
name: Build Python ${{ matrix.python-version }} for ${{ matrix.os }}
399+
name: Build Python Wheels
400400
runs-on: ${{ matrix.os }}
401401
needs: versioning
402402
strategy:

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ If there build mode is not specified, the default is `Release`.
4242

4343
```sh
4444
cmake -DUSEARCH_BUILD_TEST_CPP=1 -B ./build_release
45-
cmake --build ./build_release --config Debug
45+
cmake --build ./build_release --config Release
4646
./build_release/test_cpp
4747
```
4848

cpp/test.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,13 +633,15 @@ int main(int, char**) {
633633

634634
// Exact search without constructing indexes.
635635
// Great for validating the distance functions.
636+
std::printf("Testing exact search\n");
636637
for (std::size_t dataset_count : {10, 100})
637638
for (std::size_t queries_count : {1, 10})
638639
for (std::size_t wanted_count : {1, 5})
639640
test_exact_search(dataset_count, queries_count, wanted_count);
640641

641642
// Make sure the initializers and the algorithms can work with inadequately small values.
642643
// Be warned - this combinatorial explosion of tests produces close to __500'000__ tests!
644+
std::printf("Testing absurd index configs\n");
643645
for (std::size_t connectivity : {0, 1, 2, 3})
644646
for (std::size_t dimensions : {1, 2, 3}) // TODO: Add zero?
645647
for (std::size_t expansion_add : {0, 1, 2, 3})
@@ -659,11 +661,13 @@ int main(int, char**) {
659661
}
660662

661663
// Test with binaty vectors
664+
std::printf("Testing binary vectors\n");
662665
for (std::size_t connectivity : {3, 13, 50})
663666
for (std::size_t dimensions : {97, 256})
664667
test_tanimoto<std::int64_t, std::uint32_t>(dimensions, connectivity);
665668

666669
// Beyond dense equi-dimensional vectors - integer sets
670+
std::printf("Testing sparse vectors, strings, and sets\n");
667671
for (std::size_t set_size : {1, 100, 1000})
668672
test_sets<std::int64_t, std::uint32_t>(set_size, 20, 30);
669673
test_strings<std::int64_t, std::uint32_t>();

0 commit comments

Comments
 (0)