name: Regression Tests on: # Run on merges to main push: branches: [main] # Allow manual trigger workflow_dispatch: jobs: regression: name: Differential Regression (v0.49.6 baseline) runs-on: ubuntu-latest timeout-minutes: 15 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Set up Go uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 with: go-version-file: 'go.mod' - name: Configure Git run: | git config --global user.name "CI Bot" git config --global user.email "ci@beads.test" - name: Install Dolt run: curl -fsSL https://github.com/dolthub/dolt/releases/latest/download/install.sh | sudo bash - name: Configure Dolt run: | dolt config --global --add user.name "CI Bot" dolt config --global --add user.email "ci@beads.test" dolt version - name: Cache baseline binary uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: path: ~/.cache/beads-regression key: regression-baseline-${{ hashFiles('tests/regression/BASELINE_VERSION') }} - name: Run regression tests run: go test -tags=regression,gms_pure_go -timeout=10m -v ./tests/regression/...