Skip to main content

Use Argos with Semaphore CI

Configure Semaphore CI to send screenshots to Argos visual testing platform. CI

Configuring environment variable

Argos uses the ARGOS_TOKEN to identify to which repository the screenshots you send are related.

To get token value, sign in to Argos and click on the Gear buttonbutton in front of your repository.

In your Semaphore project, go to Settings > Environment Variables. Then, set the ARGOS_TOKEN as an environment variable.

If you are not comfortable with storing secret, read Semaphore CI documentation about environment variables.

Configure Semaphore CI

.semaphore/semaphore.yml
blocks:
jobs:
# 👉 Insert the steps required to take screenshots

- name: Upload screenshots to argos-ci.com
commands:
- npx @argos-ci/cli upload ./screenshots

We don't have Buildkite example repository to yet. Don't hesitate to contribute by adding an example!