fix: invalid import and improve tests

refactor: remove initGC

test: add test for GC

fix: invalid import in z_gc

ci: test baremetal GC for coverage

ci: test baremetal GC for coverage
This commit is contained in:
Haolan
2025-09-16 16:08:13 +08:00
parent e4a69ce413
commit 33a00dff1b
10 changed files with 481 additions and 160 deletions

View File

@@ -52,6 +52,11 @@ jobs:
if: ${{!startsWith(matrix.os, 'macos')}}
run: go test ./...
- name: Test Baremetal GC
if: ${{!startsWith(matrix.os, 'macos')}}
working-directory: runtime/internal/runtime/tinygogc
run: go test -tags testGC .
- name: Test with coverage
if: startsWith(matrix.os, 'macos')
run: go test -coverprofile="coverage.txt" -covermode=atomic ./...