DevTools

GitLab CI

Run DevTools YAML flows in GitLab CI and emit JUnit reports. Useful for merge request checks and scheduled pipelines across environments.

For the full setup (PR checks, artifacts, caching, smoke vs regression), see the API regression testing guide.

Required env vars

Depends on your flows. Common examples:

How to run it

Add a job in .gitlab-ci.yml:

stages: [test]

api_tests:
  stage: test

Commit and push to run in GitLab pipelines.

TODO:
stages: [test]

api_tests:
  stage: test
  image: ubuntu:latest
  script:
    - apt-get update && apt-get install -y curl
    - curl -fsSL https://sh.dev.tools/install.sh | bash
    - devtools flow run --report junit:test-results.xml tests.yaml

What to change

Common variations

Links