I have a pretty common workflow.
I want to run some tests for each pull request and after the merge to master I run the tests again and then deploy an artifact, in my instance a docker container.
If you check the files, you can see that the test step is completely identical.
How can I achieve the same thing without having multiple copies of the test step?
Can I add references to a common step from both files? Is there another way I haven’t considered?