swiftlang / swift-sdk-generator

Generate Swift SDKs for cross-compilation
Apache License 2.0
182 stars 15 forks source link

tests: Run tests on Linux CI #146

Closed euanh closed 2 weeks ago

euanh commented 2 weeks ago

The EndToEnd tests cannot currently be run:

Until now the tests were not compiled on macOS, and the tests were not run on Linux, so CI runs did not deadlock. This PR marks the tests with XCTSkip to prevent them running in CI or when run locally; future PRs will loosen these restrictions.

testQueryEncoding failed on main because Foundation.URL had changed to FoundationEssentials.URL, causing cache hashes to be different. This PR ensures backward compatibility by overriding the type name used when hashing URLs to be Foundation.URL.

Fixes #45

euanh commented 2 weeks ago

@swift-ci test

euanh commented 2 weeks ago

Expect the first run to fail testQueryEncoding on main because Foundation.URL is now called FoundationEssentials.URL.

euanh commented 2 weeks ago

@swift-ci test

euanh commented 2 weeks ago

@swift-ci test

euanh commented 2 weeks ago

@swift-ci test