mirror of
https://github.com/prymitive/karma
synced 2026-05-05 03:16:51 +00:00
fix(ci): don't run Percy or E2E tests on forks
This commit is contained in:
committed by
Łukasz Mierzwa
parent
3779f58c35
commit
6ed8c6c40d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user