Skip to content

Commit 6d7e1ee

Browse files
committed
TEMP - Windows test
1 parent 15bfe62 commit 6d7e1ee

6 files changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
strategy:
2323
matrix:
24-
os: [ubuntu-latest, windows-latest, macos-latest]
24+
os: [ windows-latest]
2525

2626
runs-on: ${{ matrix.os }}
2727

host-go/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.PHONY: deps\:test
22
deps\:test:
33
$(MAKE) -C ../tests/modules build
4+
go build ./engine/tests
45

56
.PHONY: build
67
build:
@@ -25,7 +26,7 @@ test\:no-deps:
2526
test\:ci:
2627
# We do not make the deps here, the ci does that seperately to avoid compiling stuff
2728
# multiple times etc.
28-
gotestsum --format testname ./...
29+
gotestsum --format testname ./... --run TestWasm32PipelineFromSourceAsFullfdsaghdshgafd$
2930

3031
.PHONY: test\:js
3132
test\:js:

tests/action/list.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
package action
66

77
import (
8+
"reflect"
9+
810
"github.com/stretchr/testify/require"
911

1012
"github.com/sourcenetwork/lens/host-go/config/model"
@@ -45,6 +47,11 @@ func (a *List) Execute() {
4547
for cid, lens := range result {
4648
resultStringified[cid.String()] = lens
4749
}
50+
require.Fail(a.s.T, "windows test")
51+
52+
if !reflect.DeepEqual(expected, resultStringified) {
53+
require.Fail(a.s.T, "lens models do not match")
54+
}
4855

49-
require.Equal(a.s.T, expected, resultStringified)
56+
//require.Equal(a.s.T, expected, resultStringified)
5057
}

tests/integration/node/add_list_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414
)
1515

1616
func TestAddList(t *testing.T) {
17+
panic("erfewd")
1718
test := &integration.Test{
1819
Actions: []action.Action{
1920
&action.Add{

tests/integration/node/list_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import (
1212
)
1313

1414
func TestList(t *testing.T) {
15+
panic("jifedewy")
1516
test := &integration.Test{
1617
Actions: []action.Action{
1718
&action.List{},

tests/integration/test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func (test *Test) Execute(t testing.TB) {
4646

4747
actions = multiplier.Apply(actions)
4848

49-
testo.Log(t, actions)
49+
//testo.Log(t, actions)
5050

5151
state := &state.State{
5252
T: t,

0 commit comments

Comments
 (0)