-
Notifications
You must be signed in to change notification settings - Fork 1.4k
35 lines (29 loc) · 884 Bytes
/
regression.yml
File metadata and controls
35 lines (29 loc) · 884 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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@v6
- name: Set up Go
uses: actions/setup-go@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: Cache baseline binary
uses: actions/cache@v5
with:
path: ~/.cache/beads-regression
key: regression-baseline-${{ hashFiles('tests/regression/BASELINE_VERSION') }}
- name: Run regression tests
run: go test -tags=regression -timeout=10m -v ./tests/regression/...