Skip to content

Only run tests when relevant folders are updated #81

@Snailedlt

Description

@Snailedlt

Why?

Tests take a while to run. To make PR's faster tests should only run when relevant files are changed.
This depends on adding all relevant files into a single folder, which will be done as a part of #73

How?

https://stackoverflow.com/questions/63822219/how-to-run-github-actions-workflow-only-if-the-pushed-files-are-in-a-specific-fo

on:
  push:
    paths:
    - 'sub-project/**'

Metadata

Metadata

Assignees

No one assigned

    Labels

    devopsDevops and workflow relatedgood first issueGood for newcomershacktoberfesthelp wantedExtra attention is neededtestingAnything related to updating or creating new tests

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions