Skip to content

Commit

Permalink
chore & fix: clippy, run binary along with tests
Browse files Browse the repository at this point in the history
Signed-off-by: Naian <[email protected]>
  • Loading branch information
nain-F49FF806 committed Oct 12, 2023
1 parent 9f9a37f commit 065aded
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/mediator.pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,4 @@ jobs:
- name: Setup database
run: DATABASE_URL=${MYSQL_URL} sqlx migrate run --source mediator/migrations
- name: "Run mediator integration tests"
run: |
RUST_TEST_THREADS=1 cargo test --package mediator;
run: cargo run --bin mediator & sleep 5 && cargo test --verbose --package mediator -- --nocapture;
2 changes: 1 addition & 1 deletion mediator/src/agent/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ mod test {
agent
.init_service(
vec![],
format!("http://127.0.0.1:8005/aries").parse().unwrap(),
"http://127.0.0.1:8005/aries".to_string().parse().unwrap(),
)
.await
.unwrap();
Expand Down

0 comments on commit 065aded

Please sign in to comment.