Cannot access files from build job

This might be a very simple question and I’m sorry if it is.
You can look at my config file here.
If inside the build job I add a step of ./tests/tests the tests start to run
When I extract the tests to run in their own job, nothing works. I cannot access the files that were built in the build step. linux complains that it cannot find any file in this name.

What is the solution? I’ve tried everything.