Skip to content

Commit

Permalink
Fix Windows CI (#1281)
Browse files Browse the repository at this point in the history
Signed-off-by: Naveen Tatikonda <[email protected]>
  • Loading branch information
naveentatikonda authored Oct 27, 2023
1 parent 910971f commit 4d6cc16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ jobs:
- name: Add MinGW to PATH
run: |
echo "C:/Users/runneradmin/scoop/apps/mingw/current/bin" >> $env:GITHUB_PATH
Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
refreshenv
- name: Download OpenBLAS
Expand Down
1 change: 1 addition & 0 deletions jni/include/jni_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <string>
#include <vector>
#include <unordered_map>
#include <cstdint>

namespace knn_jni {

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/opensearch/knn/index/FaissIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public void testEndToEnd_whenMethodIsHNSWPQ_thenSucceed() {

createBasicKnnIndex(trainingIndexName, trainingFieldName, dimension);
ingestDataAndTrainModel(modelId, trainingIndexName, trainingFieldName, dimension, modelDescription, in, trainingDataCount);
assertTrainingSucceeds(modelId, 180, 1000);
assertTrainingSucceeds(modelId, 360, 1000);

// Create an index
XContentBuilder builder = XContentFactory.jsonBuilder()
Expand Down

0 comments on commit 4d6cc16

Please sign in to comment.