-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MergeV, MergeE, & Option Steps #214
Changes from all commits
e2c85cf
8486503
e06fe55
b569530
5ec7c71
7cf15cd
6a0f4c5
0f4aee6
dddf8c0
e1d7096
3d3a300
6f56392
dada863
bc94862
80357fe
18051d3
6737d91
7a8a0cd
097fa04
aff1d27
44cdfd3
1c97441
8b28edc
72615b9
edffffb
7a255df
09d562c
97b677c
f0115d2
f8f5fec
668c564
cdcc212
2b72a1a
093c04c
802a20c
03c24fe
a342d8c
ec1437d
784ca87
c10ceaa
6a94a88
bce3737
5db2b58
8082d3b
7500820
839ef5e
41c753d
19c9a40
cebe99a
3b894b4
f2d4346
2c5bf51
d56179d
fb18462
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- name: Starting Gremlin Servers | ||
run: | | ||
docker-compose -f ./docker-compose/docker-compose.yaml up -d | ||
docker compose -f ./docker-compose/docker-compose.yaml up -d --wait --wait-timeout 90 | ||
env: | ||
GREMLIN_SERVER: ${{ matrix.gremlin-server }} | ||
|
||
|
@@ -41,13 +41,40 @@ 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 | ||
Comment on lines
+44
to
+49
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. By chance I bumped into a compilation error for the blocking I/O side fixed in d56179d while working on a follow-up branch for this PR. Surprised me since this PR had been building successfully, but that's when I noticed there didn't seem to be a cargo test call without either async flag. If there was the build should have broken, so I added one. |
||
- name: Run cargo test with tokio | ||
if: matrix.gremlin-server == '3.5.7' | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --manifest-path gremlin-client/Cargo.toml --features=tokio-runtime | ||
- name: Run cargo test with async-std | ||
if: matrix.gremlin-server == '3.5.7' | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
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 | ||
with: | ||
command: test | ||
args: --manifest-path gremlin-client/Cargo.toml --features=tokio-runtime,merge_tests | ||
- name: Run cargo test with async-std | ||
if: matrix.gremlin-server != '3.5.7' | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --manifest-path gremlin-client/Cargo.toml --features=async-std-runtime,merge_tests |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems
docker-compose
(note the middle-
is no longer a known command on the latest action runners, so changed it here and in the test workflow files