Skip to content

Stop running tests workflow on main when only docs are changed #9975

@anakin87

Description

@anakin87

Tests workflow runs for every push on main

push:
branches:
- main

Now that docs live on the Haystack repository, this means that tests are also run when only the documents are modified, resulting in wasted computing resources.

We could find a way to run the tests only if the code is modified. This is not entirely trivial, as the push configuration on the GitHub workflow does not accept paths parameters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High priority, add to the next sprint

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions