I'd like to write a test that
- fetches which file names exist in a specific package of a remote git branch and then
- checks if files with that name exist in a specific package of another remote git branch.
The test should run automatically via continuous integration.
As my project uses GitLab, solutions that use their API or similar would be feasible.
I've searched for answers and the only result I could find was this thread. However, I don't know how it could be possible to do this within an automatic test.
How could I achieve this?