Connect CI
Use the same command locally and in CI. That is the simplest way to avoid drift.
Recommended command
npx glubean run --ci --result-json .glubean/last-run.json --reporter junit:test-results.xmlThis shape works well because:
./testskeeps CI focused on committed regression tests.--result-json .glubean/last-run.jsongives you a stable machine-readable artifact.--reporter junit:test-results.xmlintegrates with common CI test dashboards.
GitHub Actions example
name: test-api
on: [push, pull_request]
jobs:
glubean:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
- run: npm ci
- run: npx glubean run --ci --result-json .glubean/last-run.json --reporter junit:test-results.xmlWhen you are ready for uploads
Add --upload to send results to Glubean Cloud after each CI run:
npx glubean run --ci --uploadThis requires GLUBEAN_TOKEN. Setup is covered in Upload Your First Run.
Next
Last updated on