fix(ci): don't run Percy or E2E tests on forks

This commit is contained in:
Łukasz Mierzwa
2020-09-25 10:04:29 +01:00
committed by Łukasz Mierzwa
parent 3779f58c35
commit 6ed8c6c40d

View File

@@ -304,7 +304,7 @@ jobs:
- stage: Build and Deploy
name: Percy UI snapshots
if: (repo = prymitive/karma AND type != pull_request AND type != cron) OR (fork = true AND type = pull_request)
if: (repo = prymitive/karma AND type != pull_request AND type != cron AND fork = false)
<<: *DEFAULTS_JS
env:
- NODE_ENV=test
@@ -313,7 +313,7 @@ jobs:
- stage: E2E
name: Test demo site
if: (repo = prymitive/karma AND type != pull_request) OR (fork = true AND type = pull_request)
if: (repo = prymitive/karma AND type != pull_request AND fork = false)
<<: *DEFAULTS_JS
script:
- travis_retry make -C ui test-demo