summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-09-04 23:58:31 -0400
committerPete Johanson <peter@peterjohanson.com>2020-09-04 23:58:31 -0400
commit0559ec9013c02a878d94b0d7ad37fa2e9b00b58c (patch)
tree8258b76d53776beb89fa82ccb8ee83078babd140
parente559cb2d713b4248697518f6bf3ece2e05b87ab3 (diff)
fix(ci): Only run tests if app/{src,tests} changes
-rw-r--r--.github/workflows/test.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 3d2c76b..a6af058 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,4 +1,12 @@
-on: [push, pull_request]
+on:
+ push:
+ paths:
+ - "app/tests/**"
+ - "app/src/**"
+ pull_request:
+ paths:
+ - "app/tests/**"
+ - "app/src/**"
name: Test