Local Liveview Uploads in production

Yes. The functionality is working fine in development. But then I wrote a unit test for the function, and it passes in my local test environment, but when I push the commit through CI (Github Actions), that test fails due to the aforementioned File.CopyError.