Skip to content

Commit f86c146

Browse files
committed
add kittest snapshot tests
1 parent ff85a81 commit f86c146

26 files changed

+576
-588
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
build:
11-
runs-on: ubuntu-latest
11+
runs-on: macos-latest
1212
steps:
1313
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1414
- uses: actions-rust-lang/setup-rust-toolchain@fb51252c7ba57d633bc668f941da052e410add48 # v1.13.0
@@ -17,7 +17,7 @@ jobs:
1717
- name: Test
1818
run: cargo test --locked
1919
- name: Test json_tree_test for simd_json feature
20-
run: cargo test --locked --features=simd_json --no-default-features --test json_tree_test
20+
run: cargo test --locked --features=simd_json --no-default-features snapshot_tests
2121
- name: Clippy
2222
run: cargo clippy
2323
- name: Format

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
.vscode
33
dist
44
.DS_Store
5+
**/tests/snapshots/**/*.diff.png
6+
**/tests/snapshots/**/*.new.png

0 commit comments

Comments
 (0)