Skip to content

Commit 17c4247

Browse files
committed
test(delta): step 1 — real tests, publish reports, upload artifact
1 parent 5833620 commit 17c4247

3 files changed

Lines changed: 43 additions & 286 deletions

File tree

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: test-delta-visuals
2+
3+
on:
4+
push:
5+
branches:
6+
- 'test/visual-delta-reports'
7+
8+
jobs:
9+
# Step 1 — run the real tests, publish all delta-affected reports, upload artifact
10+
# Once this passes, we push again with a failing test to see actual deltas
11+
delta-visual-baseline:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v6
16+
17+
- name: Install dependencies
18+
run: npm install
19+
20+
- name: Build
21+
run: npm run all:action
22+
23+
- name: Run tests
24+
run: npm run ci-test
25+
26+
- name: Publish reports
27+
uses: ./
28+
with:
29+
report-path: './ctrf/*.json'
30+
summary-report: true
31+
summary-delta-report: true
32+
github-report: true
33+
failed-report: true
34+
flaky-report: true
35+
fail-rate-report: true
36+
flaky-rate-report: true
37+
previous-results-report: true
38+
upload-artifact: true
39+
artifact-name: ctrf-delta-visual
40+
annotate: false
41+
env:
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+
if: always()

.github/workflows/test-visual-delta-reports.yaml

Lines changed: 0 additions & 264 deletions
This file was deleted.

ctrf-reports/ctrf-delta-fixture.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)