Skip to content

Commit 7645fc8

Browse files
committed
refactor: e2e tests in go
1 parent 22ed211 commit 7645fc8

28 files changed

Lines changed: 804 additions & 793 deletions

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ jobs:
8181
steps:
8282
- uses: actions/checkout@v4
8383

84+
- uses: actions/setup-go@v5
85+
with:
86+
go-version-file: go.mod
87+
8488
- uses: actions/download-artifact@v4
8589
with:
8690
name: wtw-${{ matrix.runner }}
@@ -92,6 +96,7 @@ jobs:
9296
run: |
9397
git config --global user.email "[email protected]"
9498
git config --global user.name "Test"
99+
git config --global init.defaultBranch main
95100
96101
- name: Run e2e tests
97-
run: WTW=./wtw ./e2e/run.sh
102+
run: WTW=./wtw go test ./e2e/... -v -timeout 120s

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fmt:
1515
gofumpt -w .
1616

1717
e2e: build
18-
WTW=./$(BINARY) ./e2e/run.sh
18+
WTW=./$(BINARY) go test ./e2e/... -v -timeout 120s
1919

2020
clean:
2121
rm -f $(BINARY)

0 commit comments

Comments
 (0)