Separate weak-node-api package
#857
check.yml
on: pull_request
Lint
3m 11s
Test app (iOS)
7m 35s
Test app (macOS)
0s
Test app (Android)
7m 18s
Test ferric Apple triplets
0s
Matrix: unit-tests
Annotations
11 errors and 3 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#L39
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /export REACT_NATIVE_OVERRIDE_HERMES_DIR=\$\(npx react-native-node-api vendor-hermes --silent --force\)/. 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)\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 56s\n'
at TestContext.<anonymous> (/home/runner/work/react-native-node-api/react-native-node-api/packages/host/src/node/gradle.test.ts:39: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: "\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)\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 56s\n",
expected: /export REACT_NATIVE_OVERRIDE_HERMES_DIR=\$\(npx react-native-node-api vendor-hermes --silent --force\)/,
operator: 'match',
diff: 'simple'
}
|
|
Test app (Android)
Canceling since a higher priority waiting request for Check-refs/pull/308/merge exists
|
|
Test app (Android)
The operation was canceled.
|
|
Unit tests (windows-latest)
Canceling since a higher priority waiting request for Check-refs/pull/308/merge exists
|
|
Unit tests (windows-latest)
The operation was canceled.
|
|
Test app (iOS)
Canceling since a higher priority waiting request for Check-refs/pull/308/merge exists
|
|
Test app (iOS)
The operation was canceled.
|
|
Unit tests (macos-latest)
Canceling since a higher priority waiting request for Check-refs/pull/308/merge exists
|
|
Unit tests (macos-latest)
The operation was canceled.
|
|
Check
Canceling since a higher priority waiting request for Check-refs/pull/308/merge exists
|
|
Unit tests (ubuntu-latest)
Total Tests: 20
Suites 📂: 8
Passed ✅: 20
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 681.665ms
|
|
Unit tests (ubuntu-latest)
Total Tests: 3
Suites 📂: 2
Passed ✅: 3
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 566.454ms
|
|
Unit tests (ubuntu-latest)
Total Tests: 49
Suites 📂: 24
Passed ✅: 47
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 1
Todo 📝: 0
Duration 🕐: 121434.864ms
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
emulator-logcat
|
113 KB |
sha256:93c67176fac0aaedde1239e36d7272fc93b40a572ce264a1d8ee11f6e43b5eca
|
|