-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Realm
-
Labels:None
Description
We should only run tests if there's some change to test. We gain nothing by running tests on PRs/pushes where no tested examples changed & doing so wastes time & resources.
We can update our GitHub Actions workflows to do this. SeeĀ Example including paths in the GitHub docs.
e.g. for .NET we could update /.github/workflows/dotnet-core.yml as in the following:
(can we combine the `paths` definitions for `push` and `pull_request` somehow?)
on: push: branches: [ master ] paths: - 'examples/dotnet/**' pull_request: branches: [ master ] paths: - 'examples/dotnet/**'