react-native - 进程退出 1 后 Github Action 成功 - 排毒
问题描述
我正在尝试使用 Detox for React Native 为 android 运行 e2e 测试。测试在本地运行(和失败)很好,但 Github Action 被标记为“成功”,即使测试失败并以 1 退出。
这是最终输出:
detox[93484] ERROR: [cli.js] Error: Command failed: jest --config e2e/config.json --testNamePattern '^((?!:ios:).)*$' --maxWorkers 1 e2e
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Done in 366.59s.
你能为我指出正确的方向吗?
解决方案
推荐阅读
- android-studio - 如何从 Flutter 项目中将选定的 dart 文件作为主要文件运行?
- javascript - 为什么关闭窗口时componentWillUnmount不触发?
- elasticsearch - Elasticsearch - 将 API 与参数字段匹配
- environment-variables - 在 Postma 请求的正文中将环境变量转换为整数
- node.js - 不明白为什么我没有从我的树莓派 3 收到任何 rssi 数据到我的服务器
- python - 使用 jit nopython 理解 Numba TypingError
- c - 如何在 C/C++ 中的套接字编程中绑定地址?
- python - 在 Window 终端上运行“exe”Python3
- arduino - arduino nano + nrf2401 CRC_lenght=disable
- javascript - 如何从我的服务人员访问我的 dexie 数据库?