Skip to content

Commit

Permalink
Added running cargo test with no async feature enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
criminosis committed Oct 8, 2024
1 parent d56179d commit fb18462
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ jobs:
with:
command: fmt
args: --all -- --check
- name: Run cargo test with blocking client
if: matrix.gremlin-server == '3.5.7'
uses: actions-rs/cargo@v1
with:
command: test
args: --manifest-path gremlin-client/Cargo.toml
- name: Run cargo test with tokio
if: matrix.gremlin-server == '3.5.7'
uses: actions-rs/cargo@v1
Expand All @@ -54,6 +60,12 @@ jobs:
command: test
args: --manifest-path gremlin-client/Cargo.toml --features=async-std-runtime
# MergeV as a step doesn't exist in 3.5.x, so selectively run those tests
- name: Run cargo test with blocking client
if: matrix.gremlin-server != '3.5.7'
uses: actions-rs/cargo@v1
with:
command: test
args: --manifest-path gremlin-client/Cargo.toml --features=merge_tests
- name: Run cargo test with tokio
if: matrix.gremlin-server != '3.5.7'
uses: actions-rs/cargo@v1
Expand Down

0 comments on commit fb18462

Please sign in to comment.