jabref icon indicating copy to clipboard operation
jabref copied to clipboard

Fix failing Windows tests

Open subhramit opened this issue 7 months ago • 5 comments

Our Windows CI tests are currently failing post the merge of https://github.com/JabRef/jabref/pull/15316 The report can be viewed at https://github.com/JabRef/jabref/actions/runs/24270384479/job/70874031816

The task is to fix these tests, and if there is intentional windows-specific handling involved in the logic, mark the tests enabled only on Windows.

For future, to catch this early during development in future, the Windows-based CI checks have been enabled in https://github.com/JabRef/jabref/pull/15530. The tests were initially disabled because Windows-specific test failures did not come up often, and the tests took a long time (~33min).

subhramit avatar Apr 12 '26 23:04 subhramit

@pluto-han could you check if these are indeed related to the changes made in the linked PR?

subhramit avatar Apr 12 '26 23:04 subhramit

could you check if these are indeed related to the changes made in the linked PR?

Yes. I used the linebreak unifier in RelatedWorkInserter according to https://github.com/JabRef/jabref/pull/15316#discussion_r2943267849, but forgot to change RelatedWorkInserterTest. It explains why test passes on my mac but fails on windows, I should have tested it on multiple platforms...

pluto-han avatar Apr 12 '26 23:04 pluto-han

/assign-me

programmer1128 avatar Apr 13 '26 19:04 programmer1128

⚠️ Issue Already Assigned

Hi @programmer1128, this issue is currently assigned to @pluto-han.

[!NOTE] This issue is pinned and will not be automatically unassigned.

Options for contributors
  • Collaborate: You can ask the assignee if they want help
  • Maintainer assistance: A maintainer can add you as co-assignee if appropriate
  • Wait for completion: The issue will remain assigned until the work is complete

jabref-machine avatar Apr 13 '26 19:04 jabref-machine

We think that this issue was fixed. Please head to https://builds.jabref.org/main to download a development build and try it out.

For any feedback, add a comment to the pull request at https://github.com/JabRef/jabref/pull/15538.

github-actions[bot] avatar Apr 16 '26 11:04 github-actions[bot]