only run tests when files have changed

This commit is contained in:
Tao Bojlén 2020-05-19 14:50:31 +01:00
parent dd2b43a9bf
commit 94034ee538
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ test-frontend:
- frontend/.yarn
only:
changes:
- frontend/*
- frontend/**/*
test-backend:
stage: test
@ -22,7 +22,7 @@ test-backend:
MIX_ENV: test
only:
changes:
- backend/*
- backend/**/*
before_script:
- cd backend
script: