Closed Bajger closed 10 months ago
@demarey I don't know how to write unit test for that, since test class uses memory file system. Not sure if I can inject non-writeable directory (e.g. by using permissions?) and if memory store verifies that.
yes, you're right, it is hard to test this. We would need a test on the real file system for this purpose.
@demarey CI is failing, do you have idea why? https://github.com/pharo-project/pharo-launcher/actions/runs/7553602942/job/20565517942#step:6:35
GitHubLets you manage your pharo images and download new ones - Added exception handling for creating directory in package command · pharo-project/pharo-launcher@826b279
yes, because the test report is not accessible in the job when you are in a PR: https://github.com/pharo-project/pharo-launcher/actions/runs/7553602942/job/20565517942#step:6:35 If you take a look before, you can see all tests are passing :)
GitHubLets you manage your pharo images and download new ones - Added exception handling for creating directory in package command · pharo-project/pharo-launcher@826b279
I will need to see how to solve this issue for PRs
Should I merge it? Or wait until test report is accessible for PR?
you can merge it