CI setup
A CI job needs one command and the AITP_TOKEN secret. The same command runs in any CI system that can run npx.
.github/workflows/e2e.yml
1- name: Run E2E2 run: npx aitp run --tag smoke --cloud3 env:4 AITP_TOKEN: ${{ secrets.AITP_TOKEN }}5 TEST_EMAIL: ${{ secrets.TEST_EMAIL }}6 TEST_PASSWORD: ${{ secrets.TEST_PASSWORD }}The example is a GitHub Actions step. In GitLab CI, CircleCI or Jenkins (Beta), run the same command in a job and pass the same variables from that system's secret store.
Result on the pull request
The run reports a pass, fail or healed status per test as a check on the pull request. The check does not block merges by itself. Whether a failing check blocks a merge is the branch protection rule your team sets.
Exit codes
0 pass, 1 fail, 2 healed steps pending review. See Exit codes.
Integration pages
- GitHub Actions
- GitLab CI
- CircleCI
- Jenkins (Beta)