Skip to content

Commit d956218

Browse files
DE-1098 ci(actions): experiment with tests.yml options
1 parent 071a3ae commit d956218

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ jobs:
5959
env:
6060
ARANGO_NO_AUTH: 1
6161
ARANGO_LICENSE_KEY: ${{ secrets.ARANGO_LICENSE_KEY }}
62+
options: >-
63+
--command arangod
64+
--experimental-vector-index
6265
6366
steps:
6467
- uses: actions/checkout@v4

src/test/11-managing-indexes.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { DocumentCollection } from "../collections.js";
33
import { Database } from "../databases.js";
44
import { config } from "./_config.js";
55

6-
const it312 = config.arangoVersion! >= 31200 ? it : it.skip;
6+
const it312 = config.arangoVersion! > 31200 ? it : it.skip;
77

88
describe("Managing indexes", function () {
99
let system: Database, db: Database;
@@ -30,7 +30,7 @@ describe("Managing indexes", function () {
3030
}
3131
});
3232
describe("collection.ensureIndex#vector", () => {
33-
it.skip("should create a vector index", async () => {
33+
it312("should create a vector index", async () => {
3434
// Available in ArangoDB 3.12.4+.
3535
// Only enabled with the --vector-index startup option.
3636
const data = Array.from({ length: 128 }, (_, cnt) => ({
@@ -57,7 +57,7 @@ describe("Managing indexes", function () {
5757
expect(info).to.have.nested.property("params.nLists", 2);
5858
});
5959

60-
it.skip("should create a vector index with storedValues", async () => {
60+
it312("should create a vector index with storedValues", async () => {
6161
// Available in ArangoDB 3.12.7+.
6262
// Only enabled with the --vector-index startup option.
6363
const data = Array.from({ length: 128 }, (_, cnt) => ({
@@ -89,7 +89,7 @@ describe("Managing indexes", function () {
8989
expect(info).to.have.nested.property("params.nLists", 2);
9090
});
9191

92-
it.skip("should create a vector index with innerProduct metric", async () => {
92+
it312("should create a vector index with innerProduct metric", async () => {
9393
// Available in ArangoDB 3.12.6+.
9494
// Only enabled with the --vector-index startup option.
9595
const data = Array.from({ length: 128 }, (_, cnt) => ({

0 commit comments

Comments
 (0)