Switch to x86_64 Android emulator and remove custom options #623
Annotations
7 errors and 10 notices
|
Unit tests (ubuntu-latest)
Process completed with exit code 1.
|
|
should fail if REACT_NATIVE_OVERRIDE_HERMES_DIR is not set:
packages/host/packages/host/src/node/gradle.test.ts#L35
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Run the following in your terminal, to clone Hermes and instruct React Native to use it/. Input:
'\n' +
'FAILURE: Build failed with an exception.\n' +
'\n' +
'* Where:\n' +
"Build file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle' line: 6\n" +
'\n' +
'* What went wrong:\n' +
"A problem occurred evaluating project ':react-native-node-api'.\n" +
'> React Native Node-API needs a custom version of Hermes with Node-API enabled.\n' +
' Run the following in your Bash- or Zsh-compatible terminal, to clone Hermes and instruct React Native to use it:\n' +
' \n' +
' export REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent --force)\n' +
' \n' +
' And follow this guide to build React Native from source:\n' +
' https://reactnative.dev/contributing/how-to-build-from-source#update-your-project-to-build-from-source\n' +
'\n' +
'* Try:\n' +
'> Run with --stacktrace option to get the stack trace.\n' +
'> Run with --info or --debug option to get more log output.\n' +
'> Run with --scan to get full insights.\n' +
'> Get more help at https://help.gradle.org.\n' +
'\n' +
'BUILD FAILED in 1m 57s\n'
at TestContext.<anonymous> (/home/runner/work/react-native-node-api/react-native-node-api/packages/host/src/node/gradle.test.ts:35: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:483:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:451:29)
at node:internal/per_context/primordials:483:9
at Array.map (<anonymous>) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: "\nFAILURE: Build failed with an exception.\n\n* Where:\nBuild file '/home/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle' line: 6\n\n* What went wrong:\nA problem occurred evaluating project ':react-native-node-api'.\n> React Native Node-API needs a custom version of Hermes with Node-API enabled.\n Run the following in your Bash- or Zsh-compatible terminal, to clone Hermes and instruct React Native to use it:\n \n export REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent --force)\n \n And follow this guide to build React Native from source:\n https://reactnative.dev/contributing/how-to-build-from-source#update-your-project-to-build-from-source\n\n* Try:\n> Run with --stacktrace option to get the stack trace.\n> Run with --info or --debug option to get more log output.\n> Run with --scan to get full insights.\n> Get more help at https://help.gradle.org.\n\nBUILD FAILED in 1m 57s\n",
expected: /Run the following in your terminal, to clone Hermes and instruct React Native to use it/,
operator: 'match',
diff: 'simple'
}
|
|
Unit tests (macos-latest)
Process completed with exit code 1.
|
|
should fail if REACT_NATIVE_OVERRIDE_HERMES_DIR is not set:
packages/host/packages/host/src/node/gradle.test.ts#L35
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Run the following in your terminal, to clone Hermes and instruct React Native to use it/. Input:
'\n' +
'FAILURE: Build failed with an exception.\n' +
'\n' +
'* Where:\n' +
"Build file '/Users/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle' line: 6\n" +
'\n' +
'* What went wrong:\n' +
"A problem occurred evaluating project ':react-native-node-api'.\n" +
'> React Native Node-API needs a custom version of Hermes with Node-API enabled.\n' +
' Run the following in your Bash- or Zsh-compatible terminal, to clone Hermes and instruct React Native to use it:\n' +
' \n' +
' export REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent --force)\n' +
' \n' +
' And follow this guide to build React Native from source:\n' +
' https://reactnative.dev/contributing/how-to-build-from-source#update-your-project-to-build-from-source\n' +
'\n' +
'* Try:\n' +
'> Run with --stacktrace option to get the stack trace.\n' +
'> Run with --info or --debug option to get more log output.\n' +
'> Run with --scan to get full insights.\n' +
'> Get more help at https://help.gradle.org.\n' +
'\n' +
'BUILD FAILED in 1m 34s\n'
at TestContext.<anonymous> (/Users/runner/work/react-native-node-api/react-native-node-api/packages/host/src/node/gradle.test.ts:35: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:483:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:451:29)
at node:internal/per_context/primordials:483:9
at Array.map (<anonymous>) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: "\nFAILURE: Build failed with an exception.\n\n* Where:\nBuild file '/Users/runner/work/react-native-node-api/react-native-node-api/node_modules/react-native-node-api/android/build.gradle' line: 6\n\n* What went wrong:\nA problem occurred evaluating project ':react-native-node-api'.\n> React Native Node-API needs a custom version of Hermes with Node-API enabled.\n Run the following in your Bash- or Zsh-compatible terminal, to clone Hermes and instruct React Native to use it:\n \n export REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent --force)\n \n And follow this guide to build React Native from source:\n https://reactnative.dev/contributing/how-to-build-from-source#update-your-project-to-build-from-source\n\n* Try:\n> Run with --stacktrace option to get the stack trace.\n> Run with --info or --debug option to get more log output.\n> Run with --scan to get full insights.\n> Get more help at https://help.gradle.org.\n\nBUILD FAILED in 1m 34s\n",
expected: /Run the following in your terminal, to clone Hermes and instruct React Native to use it/,
operator: 'match',
diff: 'simple'
}
|
|
Unit tests (windows-latest)
Process completed with exit code 1.
|
|
should fail if REACT_NATIVE_OVERRIDE_HERMES_DIR is not set:
packages\host\packages\host\src\node\gradle.test.ts#L35
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Run the following in your terminal, to clone Hermes and instruct React Native to use it/. Input:
'\r\n' +
'FAILURE: Build failed with an exception.\r\n' +
'\r\n' +
'* Where:\r\n' +
"Build file 'D:\\a\\react-native-node-api\\react-native-node-api\\node_modules\\react-native-node-api\\android\\build.gradle' line: 6\r\n" +
'\r\n' +
'* What went wrong:\r\n' +
"A problem occurred evaluating project ':react-native-node-api'.\r\n" +
'> React Native Node-API needs a custom version of Hermes with Node-API enabled.\n' +
' Run the following in your Bash- or Zsh-compatible terminal, to clone Hermes and instruct React Native to use it:\n' +
' \n' +
' export REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent --force)\n' +
' \n' +
' And follow this guide to build React Native from source:\n' +
' https://reactnative.dev/contributing/how-to-build-from-source#update-your-project-to-build-from-source\r\n' +
'\r\n' +
'* Try:\r\n' +
'> Run with --stacktrace option to get the stack trace.\r\n' +
'> Run with --info or --debug option to get more log output.\r\n' +
'> Run with --scan to get full insights.\r\n' +
'> Get more help at https://help.gradle.org.\r\n' +
'\r\n' +
'BUILD FAILED in 2m 35s\r\n'
at TestContext.<anonymous> (D:\a\react-native-node-api\react-native-node-api\packages\host\src\node\gradle.test.ts:35: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:483:82
at new Promise (<anonymous>)
at new SafePromise (node:internal/per_context/primordials:451:29)
at node:internal/per_context/primordials:483:9
at Array.map (<anonymous>) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: "\r\nFAILURE: Build failed with an exception.\r\n\r\n* Where:\r\nBuild file 'D:\\a\\react-native-node-api\\react-native-node-api\\node_modules\\react-native-node-api\\android\\build.gradle' line: 6\r\n\r\n* What went wrong:\r\nA problem occurred evaluating project ':react-native-node-api'.\r\n> React Native Node-API needs a custom version of Hermes with Node-API enabled.\n Run the following in your Bash- or Zsh-compatible terminal, to clone Hermes and instruct React Native to use it:\n \n export REACT_NATIVE_OVERRIDE_HERMES_DIR=$(npx react-native-node-api vendor-hermes --silent --force)\n \n And follow this guide to build React Native from source:\n https://reactnative.dev/contributing/how-to-build-from-source#update-your-project-to-build-from-source\r\n\r\n* Try:\r\n> Run with --stacktrace option to get the stack trace.\r\n> Run with --info or --debug option to get more log output.\r\n> Run with --scan to get full insights.\r\n> Get more help at https://help.gradle.org.\r\n\r\nBUILD FAILED in 2m 35s\r\n",
expected: /Run the following in your terminal, to clone Hermes and instruct React Native to use it/,
operator: 'match',
diff: 'simple'
}
|
|
Test app (Android)
The process '/usr/bin/sh' failed with exit code 1
|
|
Unit tests (ubuntu-latest)
Total Tests: 20
Suites 📂: 8
Passed ✅: 20
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 652.171ms
|
|
Unit tests (ubuntu-latest)
Total Tests: 3
Suites 📂: 2
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 437.237ms
|
|
Unit tests (ubuntu-latest)
Total Tests: 44
Suites 📂: 20
Passed ✅: 42
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 121027.650ms
|
|
Unit tests (macos-latest)
Total Tests: 20
Suites 📂: 8
Passed ✅: 20
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 414.183ms
|
|
Unit tests (macos-latest)
Total Tests: 3
Suites 📂: 2
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 449.724ms
|
|
Unit tests (macos-latest)
Total Tests: 44
Suites 📂: 20
Passed ✅: 43
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 100013.211ms
|
|
Unit tests (windows-latest)
Total Tests: 20
Suites 📂: 8
Passed ✅: 20
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 988.639ms
|
|
Unit tests (windows-latest)
Total Tests: 3
Suites 📂: 2
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 735.371ms
|
|
Unit tests (windows-latest)
Total Tests: 44
Suites 📂: 20
Passed ✅: 40
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 3
Todo 📝: 0
Duration 🕐: 161456.362ms
|
|
Unit tests (windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
emulator-logcat
Expired
|
119 KB |
sha256:6b477bc2572c75ab5d963d93b14995d6141aeeea6c57a90eb654a956f5e6d381
|
|