Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,16 @@ workflows:
verify-command: echo 'Already verified'
no-workspace: true
working_directory: examples/visual-testing-with-applitools
command: npm test
# to correctly run this job, we need Applitools token
# external pull requests do not have environment variables set
# thus the job will always fail. Let's skip this job if the
# environment variable is missing
command: |
if [ -z "$APPLITOOLS_API_KEY" ]; then
echo "Skipping Applitools test job, missing environment variable APPLITOOLS_API_KEY"
else
npm test
fi
store_artifacts: true

- cypress/run:
Expand Down