Regwright.

Headless CI for Stata code

Run Stata .do files in GitHub Actions — with real exit codes and no licence server.

Running Stata inside GitHub Actions normally requires self-hosted runners, hidden licence blobs, and fragile log-scraping because stata -b exits 0 even on syntax errors. Regwright ships as one static Linux binary with an official Action, offline signed keys, and non-zero exit codes whenever a script fails.

CI / Server — £299/yr Test your .do file in the browser Read CLI docs

Drop-in GitHub Actions workflow

name: Replicate tables
on: [push, pull_request]
jobs:
  stata:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: Huckcity/regwright-action@v1
        with:
          licence: ${{ secrets.REGWRIGHT_LICENSE }}
      - run: regwright -b do code/master.do

Why research labs & data teams automate with Regwright