*screams in horror*
I noticed that some tests in our project don't work when run manually from terminal but work fine in CI. After digging, I found that our nix code runs sed over those tests in order to fix input data file paths.
@pureevil I had to do something similar for tests of a component in a project I worked on, but the replacements are done in the script that create a test directory (so it's used for CI and for manually run tests). It's because the exact path of the test directory must be put in configuration files used in the tests of the component.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!