Skip to main content

Controlling which of your project's actions run in the Github tests

02 April 2025

When you push code to an OpenSAFELY project on Github it will automatically run your full project pipeline to check that it completes successfully. However, for larger projects this can take a long time to complete and sufficiently large projects will never complete due to Github’s six hour time limit.

To work around this problem we now support running just a specified list of project actions in the Github tests. You can do this by editing the .github/workflows/test_runner.yaml file and listing the required actions as below:

 - name: Test that the project is runnable
   uses: opensafely-core/research-action@v2
   with:
     actions: test_action_1 test_action_2 test_action_3