Skip to content

Update to Latest Emulator & Test Framework Changes #4824

Update to Latest Emulator & Test Framework Changes

Update to Latest Emulator & Test Framework Changes #4824

Triggered via pull request November 19, 2025 03:48
Status Failure
Total duration 4m 18s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

8 errors
lint
issues found
lint: internal/test/test.go#L316
cannot use func(location common.Location) (string, error) {…} (value of type func(location "github.com/onflow/cadence/common".Location) (string, error)) as "github.com/onflow/cadence-tools/test".ImportResolver value in return statement (typecheck)
lint: internal/test/test.go#L267
runner.WithImportResolver(importResolver(scriptPath, state)).WithFileResolver(fileResolver(scriptPath, state)).WithContracts undefined (type *"github.com/onflow/cadence-tools/test".TestRunner has no field or method WithContracts)
test (ubuntu-latest)
Process completed with exit code 2.
test (ubuntu-latest): internal/test/test.go#L316
cannot use func(location common.Location) (string, error) {…} (value of type func(location "github.com/onflow/cadence/common".Location) (string, error)) as "github.com/onflow/cadence-tools/test".ImportResolver value in return statement
test (ubuntu-latest): internal/test/test.go#L267
runner.WithImportResolver(importResolver(scriptPath, state)).WithFileResolver(fileResolver(scriptPath, state)).WithContracts undefined (type *"github.com/onflow/cadence-tools/test".TestRunner has no field or method WithContracts)
test (windows-latest)
The strategy configuration was canceled because "test.ubuntu-latest" failed
test (windows-latest)
The operation was canceled.