Skip to content

DiffyWebsite/diffy-circleci-orb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Diffy CircleCI Orb

Diffy is a visual regression testing platform for websites.

Repository contains code for Diffy's CircleCI Orb.

CircleCI registry https://circleci.com/orbs/registry/orb/diffy/diffy.

Orb provides a job to compare Pantheon's DEV environment with Multi Dev. This job is a replacement of BackstopJS visual regression job in Pantheon Build Tools workflow.

Once you have set up a project by using Drops 8 workflow you can use Diffy to run visual regression testing.

Accept "Allow Uncertified Orbs" under your Organization Security settings in CircleCI. This can be done in https://circleci.com/gh/organizations/YOUR_USERNAME_OR_ORGNAME/settings#security

Configure CircleCI environment variables. Check documentation page.

Once variables are configured you need to edit your .circleci/config.yml file.

Add an orb (place it at the top of the file)

orbs:
   diffy: diffy/diffy@0

Then declare Diffy's job in jobs section

diffy_visual_regression_test: diffy/compare_multidev_dev

And last -- add a new job in workflows (you can remove standard visual_regression_test step from workflow too).

- diffy_visual_regression_test:
  requires:
    - configure_env_vars
    - deploy_to_pantheon
  filters:
    branches:
      ignore:
        - master

Here is how your result config.yml will look like Diffy CircleCI add custom Orb

Development

To release the orb after making some changes you need to

circleci orb validate src/orb.yml
circleci orb publish increment src/orb.yml diffy/diffy patch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published