React Native 0.83.1 (0.83.0, 0.82.1 & 0.82.0) #952
check.yml
on: pull_request
Lint
1m 36s
Test app (iOS)
2m 7s
Test app (macOS)
Test app (Android)
1m 19s
Test ferric Apple triplets
Matrix: unit-tests
Matrix: weak-node-api-tests
Annotations
18 errors, 1 warning, and 6 notices
|
Test app (Android)
Process completed with exit code 1.
|
|
Lint:
apps/test-app/App.tsx#L59
Unsafe argument of type error typed assigned to a parameter of type `string`
|
|
Lint:
apps/test-app/App.tsx#L57
Unsafe call of a(n) `error` type typed value
|
|
Lint:
apps/test-app/App.tsx#L44
Unsafe call of a(n) `error` type typed value
|
|
Lint:
apps/test-app/App.tsx#L44
Unsafe assignment of an error typed value
|
|
Lint:
apps/test-app/App.tsx#L42
Unsafe call of a(n) `error` type typed value
|
|
Lint:
apps/test-app/App.tsx#L42
Unsafe assignment of an error typed value
|
|
Lint:
apps/test-app/App.tsx#L41
Unsafe argument of type error typed assigned to a parameter of type `string`
|
|
Lint:
apps/test-app/App.tsx#L40
Unsafe call of a(n) `error` type typed value
|
|
Lint:
apps/test-app/App.tsx#L39
Unsafe argument of type error typed assigned to a parameter of type `string`
|
|
Lint:
apps/test-app/App.tsx#L36
Unsafe call of a(n) `error` type typed value
|
|
Test app (iOS)
Process completed with exit code 1.
|
|
Unit tests (macos-latest)
Process completed with exit code 1.
|
|
Unit tests (ubuntu-latest)
Process completed with exit code 1.
|
|
should call the CLI to autolink:
packages/host/packages/host/src/node/gradle.test.ts#L64
AssertionError [ERR_ASSERTION]: Expected success: > Task :gradle-plugin:react-native-gradle-plugin:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :gradle-plugin:shared:checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :gradle-plugin:shared:compileKotlin UP-TO-DATE
> Task :gradle-plugin:shared:compileJava NO-SOURCE
> Task :gradle-plugin:shared:processResources NO-SOURCE
> Task :gradle-plugin:shared:classes UP-TO-DATE
> Task :gradle-plugin:shared:jar UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:compileKotlin UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:compileJava NO-SOURCE
> Task :gradle-plugin:react-native-gradle-plugin:pluginDescriptors UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:processResources UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:classes UP-TO-DATE
> Task :gradle-plugin:react-native-gradle-plugin:jar UP-TO-DATE
> Configure project :
WARNING: As of 0.82, New Architecture can no longer be disabled
> Configure project :app
WARNING: As of 0.82, New Architecture can no longer be disabled
Signing config for 'release' build type not found; reusing debug config
> Configure project :support
WARNING: As of 0.82, New Architecture can no longer be disabled
> Task :react-native-node-api:linkNodeApiModules FAILED
[Incubating] Problems report is available at: file:///home/runner/work/react-native-node-api/react-native-node-api/apps/test-app/android/build/reports/problems/problems-report.html
Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/9.0.0/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
7 actionable tasks: 1 executed, 6 up-to-date
FAILURE: Build failed with an exception.
* Where:
Build file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle' line: 167
* What went wrong:
Execution failed for task ':react-native-node-api:linkNodeApiModules'.
> Could not find method exec() for arguments [build_38f9j616tl7zwf8a64wveuj53$_run_closure4$_closure24$_closure25@57d0539e] on task ':react-native-node-api:linkNodeApiModules' of type org.gradle.api.DefaultTask.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org.
BUILD FAILED in 2s
1 !== 0
at TestContext.<anonymous> (/home/runner/work/react-native-node-api/react-native-node-api/packages/host/src/node/gradle.test.ts:64:16)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1047:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:744:18)
at Test.postRun (node:internal/test_runner/test:1173:19)
at Test.run (node:internal/test_runner/test:1101:12)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:1442:7)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:1442:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: 1,
expected: 0,
operator: 'strictEqual',
diff: 'simple'
}
|
|
Unit tests (windows-latest)
Process completed with exit code 1.
|
|
should call the CLI to autolink:
packages\host\packages\host\src\node\gradle.test.ts#L64
AssertionError [ERR_ASSERTION]: Expected success:
[Incubating] Problems report is available at: file:///D:/a/react-native-node-api/react-native-node-api/apps/test-app/android/build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.
* What went wrong:
Configuring project ':packages' without an existing directory is not allowed. The configured projectDirectory 'D:\a\react-native-node-api\react-native-node-api\apps\test-app\node_modules\react-native\tmp' does not exist, can't be written to or is not a directory.
* Try:
> Make sure the project directory exists and is writable.
> Run with --scan to generate a Build Scan (Powered by Develocity).
BUILD FAILED in 1s
1 !== 0
at TestContext.<anonymous> (D:\a\react-native-node-api\react-native-node-api\packages\host\src\node\gradle.test.ts:64:16)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1047:25)
at Suite.processPendingSubtests (node:internal/test_runner/test:744:18)
at Test.postRun (node:internal/test_runner/test:1173:19)
at Test.run (node:internal/test_runner/test:1101:12)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:1442:7)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:1442:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: 1,
expected: 0,
operator: 'strictEqual',
diff: 'simple'
}
|
|
should fail if REACT_NATIVE_OVERRIDE_HERMES_DIR is not set:
packages\host\packages\host\src\node\gradle.test.ts#L31
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /React Native Node-API needs a custom version of Hermes with Node-API enabled/. Input:
'\r\n' +
'FAILURE: Build failed with an exception.\r\n' +
'\r\n' +
'* What went wrong:\r\n' +
"Configuring project ':packages' without an existing directory is not allowed. The configured projectDirectory 'D:\\a\\react-native-node-api\\react-native-node-api\\apps\\test-app\\node_modules\\react-native\\tmp' does not exist, can't be written to or is not a directory.\r\n" +
'\r\n' +
'* Try:\r\n' +
'> Make sure the project directory exists and is writable.\r\n' +
'> Run with --scan to generate a Build Scan (Powered by Develocity).\r\n' +
'\r\n' +
'BUILD FAILED in 57s\r\n'
at TestContext.<anonymous> (D:\a\react-native-node-api\react-native-node-api\packages\host\src\node\gradle.test.ts:31:16)
at Test.runInAsyncScope (node:async_hooks:214:14)
at Test.run (node:internal/test_runner/test:1047:25)
at Test.start (node:internal/test_runner/test:944:17)
at node:internal/test_runner/test:1440:71
at node:internal/per_context/primordials:464:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:433:3)
at node:internal/per_context/primordials:464:9
at Array.map (<anonymous>) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: "\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nConfiguring project ':packages' without an existing directory is not allowed. The configured projectDirectory 'D:\\a\\react-native-node-api\\react-native-node-api\\apps\\test-app\\node_modules\\react-native\\tmp' does not exist, can't be written to or is not a directory.\r\n\r\n* Try:\r\n> Make sure the project directory exists and is writable.\r\n> Run with --scan to generate a Build Scan (Powered by Develocity).\r\n\r\nBUILD FAILED in 57s\r\n",
expected: /React Native Node-API needs a custom version of Hermes with Node-API enabled/,
operator: 'match',
diff: 'simple'
}
|
|
Test app (Android)
No files were found with the provided path: apps/test-app/emulator-logcat.txt. No artifacts will be uploaded.
|
|
Unit tests (ubuntu-latest)
Total Tests: 20
Suites π: 8
Passed β
: 20
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 648.200ms
|
|
Unit tests (ubuntu-latest)
Total Tests: 3
Suites π: 2
Passed β
: 3
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 557.085ms
|
|
Unit tests (ubuntu-latest)
Total Tests: 50
Suites π: 25
Passed β
: 48
Failed β: 1
Canceled π«: 0
Skipped βοΈ: 1
Todo π: 0
Duration π: 115357.535ms
|
|
Unit tests (windows-latest)
Total Tests: 20
Suites π: 8
Passed β
: 20
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 933.710ms
|
|
Unit tests (windows-latest)
Total Tests: 3
Suites π: 2
Passed β
: 3
Failed β: 0
Canceled π«: 0
Skipped βοΈ: 0
Todo π: 0
Duration π: 787.216ms
|
|
Unit tests (windows-latest)
Total Tests: 50
Suites π: 25
Passed β
: 45
Failed β: 2
Canceled π«: 0
Skipped βοΈ: 3
Todo π: 0
Duration π: 62719.239ms
|