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 - frontend/.yarn
only: only:
changes: changes:
- frontend/* - frontend/**/*
test-backend: test-backend:
stage: test stage: test
@ -22,7 +22,7 @@ test-backend:
MIX_ENV: test MIX_ENV: test
only: only:
changes: changes:
- backend/* - backend/**/*
before_script: before_script:
- cd backend - cd backend
script: script: