您好 Discourse 社区 ![]()
我正在基于您提供的 skeleton 设置一个新插件,它已经帮了我很多忙。
我现在正在编写前端和后端的测试。在 Discourse 开发环境中,一切都按预期工作,包括运行良好的验收测试。
我的工作流文件非常简单:
name: Discourse Projects Plugin - CI
on:
push:
branches: [ main ]
jobs:
discourse:
uses: discourse/.github/.github/workflows/discourse-plugin.yml@v1
但是,当我尝试在 Github Actions 上运行工作流时,我在 frontend_tests / Plugin QUnit 步骤中遇到了一个奇怪的错误:
Built project successfully. Stored in "/tmp/tests-dist-20231022-6082-zjfckn.1g5q".
not ok 1 Chrome 119.0 - [180 ms] - global failure
---
stack: >
Error: No tests were run.
at done (http://localhost:7357/assets/chunk.74084cb2759545d0c671.js:108653:17)
at advanceTestQueue (http://localhost:7357/assets/chunk.74084cb2759545d0c671.js:108565:7)
at Object.advance (http://localhost:7357/assets/chunk.74084cb2759545d0c671.js:108520:7)
at unblockAndAdvanceQueue (http://localhost:7357/assets/chunk.74084cb2759545d0c671.js:110490:21)
message: >
No tests were run.
negative: >
false
browser log: |
{"type":"log","text":"ℹ️ Ember v3.28.12"}
...
Out of requested 1 browser(s), 1 browser(s) was launched & completed.
All browsers to exited.
Used JS Heap Size: 0.073GB
除此之外,即使再次运行带有调试日志记录的工作流,我也无法获得任何详细信息。工作流中的所有其他步骤都已正确完成(linters、rspec 等)。
所以我的问题很简单:
- 免费的 Github runner 是否足以运行验收步骤?
- 有什么线索可以帮助我解决这个问题吗?
我确信我某处做错了,但我不知道从哪里开始查找。
感谢您的帮助以及在 Discourse 上所做的一切工作!
