Skip to content

Commit 5eda64b

Browse files
committed
fix e2e
Signed-off-by: mathetake <[email protected]>
1 parent daed501 commit 5eda64b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

images/extension-builders/tinygo/commands.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,6 @@ extension_test() {
2424

2525
extension_clean() {
2626
rm /source/main.wasm || true
27+
go clean -modcache
28+
rm -rf "${GOCACHE}" "${XDG_CACHE_HOME}" || true
2729
}

test/e2e/util/data.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ func (t CategoryLanguageTuple) String() string {
3535
func GetCategoryLanguageCombinations() []CategoryLanguageTuple {
3636
tuples := make([]CategoryLanguageTuple, 0)
3737
for _, lang := range cmdinit.SupportedLanguages {
38+
if lang.Value != "tinygo" {
39+
continue
40+
}
3841
for _, category := range cmdinit.SupportedCategories[lang.Value] {
3942
tuples = append(tuples, CategoryLanguageTuple{category.Value, lang.Value})
4043
}

0 commit comments

Comments
 (0)