Skip to content

Commit

Permalink
test: run JSONPath Compliance Test Suite on basic queries
Browse files Browse the repository at this point in the history
- CTS is now run in CI on queries that the engine supports.
  • Loading branch information
V0ldek authored Mar 28, 2024
1 parent 9249824 commit c024e1b
Show file tree
Hide file tree
Showing 12 changed files with 408 additions and 114 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,20 @@ jobs:
~/.cargo/git/db/
target/
key: book-cargo-${{ hashFiles('**/Cargo.toml') }}
- name: Install mdbook
- name: cargo install mdbook
if: steps.cache-restore-cargo.outputs.cache-hit != 'true'
run: cargo install mdbook mdbook-katex
uses: baptiste0928/cargo-install@94e1849646e5797d0c8b34d8e525124ae9ae1d86 # v3.0.1
with:
# Name of the crate to install
crate: mdbook
env:
CARGO_TARGET_DIR: target/
- name: cargo install mdbook-katex
if: steps.cache-restore-cargo.outputs.cache-hit != 'true'
uses: baptiste0928/cargo-install@94e1849646e5797d0c8b34d8e525124ae9ae1d86 # v3.0.1
with:
# Name of the crate to install
crate: mdbook-katex
env:
CARGO_TARGET_DIR: target/
- name: Build the book
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/clusterfuzzlite-batch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ jobs:
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit

- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
submodules: true
- name: Report crash
id: report
uses: JasonEtco/create-an-issue@1b14a70e4d8dc185e5cc76d3bec9eab20257b2c5 # v2.9.2
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,12 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ matrix.toolchain }}-${{ matrix.target_triple }}-cargo-${{ hashFiles('**/Cargo.toml') }}
- name: Install cargo-hack
- name: cargo install cargo-hack
if: steps.cache-restore-cargo.outputs.cache-hit != 'true'
run: cargo install cargo-hack
uses: baptiste0928/cargo-install@94e1849646e5797d0c8b34d8e525124ae9ae1d86 # v3.0.1
with:
# Name of the crate to install
crate: cargo-hack
env:
CARGO_TARGET_DIR: target/
- name: Build all feature sets
Expand Down Expand Up @@ -359,9 +362,7 @@ jobs:
with:
submodules: true
- name: cargo install cargo-msrv
# You may pin to the exact commit or the version.
# uses: baptiste0928/cargo-install@1cd874a5478fdca35d868ccc74640c5aabbb8f1b
uses: baptiste0928/[email protected]
uses: baptiste0928/cargo-install@94e1849646e5797d0c8b34d8e525124ae9ae1d86 # v3.0.1
with:
# Name of the crate to install
crate: cargo-msrv
Expand Down
110 changes: 50 additions & 60 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c024e1b

Please sign in to comment.