Skip to content
This repository was archived by the owner on Sep 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ci-go-tests
name: ci-go-load-tests

on:
pull_request:
Expand Down Expand Up @@ -30,4 +30,4 @@ jobs:
cache-dependency-path: go.sum

- name: Run Unit Tests
run: go test -race -v ./...
run: go test -race -v ./load_test/...
33 changes: 33 additions & 0 deletions .github/workflows/ci-go-unit-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: ci-go-unit-tests

on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
paths:
- "**/*.go"
- "**/go.mod"
- .github/workflows/*

permissions:
contents: read
actions: write

jobs:
ci-go-tests:
runs-on: warp-ubuntu-latest-arm64-4x

steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: go.sum

- name: Run Unit Tests
run: go test -race -v ./unit_test/...
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

package modusdb_test
package load_test

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion live_test.go → load_test/live_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

package modusdb_test
package load_test

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion api_test.go → unit_test/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

package modusdb_test
package unit_test

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion engine_test.go → unit_test/engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

package modusdb_test
package unit_test

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion namespace_test.go → unit_test/namespace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

package modusdb_test
package unit_test

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion vector_test.go → unit_test/vector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

package modusdb_test
package unit_test

import (
"context"
Expand Down
Loading