We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 703219f commit 5577cc6Copy full SHA for 5577cc6
.github/workflows/test.yml
@@ -39,12 +39,17 @@ jobs:
39
forge build --sizes
40
id: build
41
42
- - name: Run Forge tests
+ - name: Confirm comparison snapshot
43
+ run: |
44
+ forge snapshot --match-path "test/comparison/*" --check
45
+ id: comparison-snapshot
46
+
47
+ - name: Run all Forge tests
48
run: |
49
forge test -vvv
50
id: test
51
- - name: Run snapshot
52
+ - name: Check snapshots directory did not update
53
- forge snapshot --match-path "test/comparison/*" --check
- id: test-committed
54
+ git diff --exit-code snapshots
55
+ id: no-diff-snapshot
0 commit comments