-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI fails for new repo [BUG] #800
Comments
Thanks @djbpitt this should be a very simple fix. I admit that I rarely use the empty template. |
Thank you, @duncdrum ! I’d be grateful if you could please continue to support the empty template. I understand that it may not meet everyone’s needs, but starting with only the barest necessities helps me enable the functionality I need without being distracted by features I don’t use. I’ll be happy to keep testing and reporting any issues I notice. I understand that once you’ve had a chance to release a fix the issue won’t come up with new projects. Is there also an easy fix for projects I’ve already started developing? |
Yes, I ll keep you posted. I expect the fix to land before Wednesday. |
@djbpitt the test failure you are seeing is due to a modification of the Readme. The test expects the app title to be a level 1 heading on the readme, as well as the app description to be present, e.g.: # tmp
my amazing tmp app the second error hidde by this failure was due to an invalid reuse of function names within the same module, there were two In both instances the template was basically working as intended. However when looking into this bug report i found other a severe regression with the yeoman parent library that ll take me some time to work around / fix. |
invalid testsuites no longer produce cryptic failures see eXist-db#800
@duncdrum I just merged your PR into my tmp repo and I'm experimenting now. If I've understood correctly, my reusing a function name in the test suite was an XQuery mistake, but should I consider modifying the Readme an error on my part? I don't have enough GitHub experience to know whether the test expectations you describe (app title as level 1 header, app description present) are 1) standard for GitHub reps, 2) not standard but generally accepted as Best Practice, or 3) a local convention. If it's a local convention I would feel comfortable disabling that part of the testing, following the pointer you provide. If, though, my edits to the Readme are inconsistent with generally accepted Best Practice recommendations, I should instead bring my Readme into conformance. |
invalid testsuites no longer produce cryptic failures see eXist-db#800
@duncdrum I merged your PR and verified (I think!) that the Readme and test function names now conform to your recommendations. CI is still failing. Sample test output:
|
hi david, i ve already added a commit in #801 that gracefully deals with the error you are now seeing. This one is coming from exist, being inconsistent in its response. The commit is cd41d92 you can simply apply these changes to your |
@duncdrum I'm embarrassed to show up with more of the same issues, but I am still unable to complete CI successfully. My latest experiment involved creating a completely new repo using Yeoman and pushing it to https://github.com/djbpitt/tmp (I deleted the old repo that was using that name before I began, so there is no old code at that location). I did not write any tests or otherwise configure the test harness; I just followed the prompts to create the new Yeoman project and then pushed it to GitHub. When I click on the little "x" next to the commit number at the top, I see that three checks were cancelled and one failed. I didn't cancel anything myself; so the cancelled ones were apparently cancelled automatically as a consequence of the failing one. The unit test that is created when I let Yeoman initialize a new repo passed, and it looks as if the error arose in the integration testing. I think the report is publicly accessible (that is, I think you can see the same thing I can if you click on the "x"), but just in case, here is what I think is the relevant part:
My usual assumption when Something Doesn't Work is that the cause is (my) user error, but I don't think I did anything here except respond to the Yeoman prompts. I didn't write any of my own tests. In case it's helpful, the process I followed to build is described at https://github.com/Pittsburgh-NEH-Institute/pr-app/blob/main/pr-app-tutorials/yeoman.md. As previously, I choose the "empty" option. |
🎉 This issue has been resolved in version 8.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Describe the bug
I create a new local exist-db repo for Yeoman (choosing the "empty" option), add an XQSuite test, and push. CI fails; see https://github.com/djbpitt/tmp/actions/runs/2221082865 for CI output.
Expected behavior
I expect CI to succeed.
To Reproduce
-
Logs, error messages
Output of
npm test
is:Context (please always complete the following information):
v14.19.1
6.0.1
6.0.0
npm
The text was updated successfully, but these errors were encountered: