Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Jan 3, 2024
1 parent 83704a0 commit 17e32b2
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: |
make build
make unit-test
make test
make integration-test
- name: Set up Python
uses: actions/setup-python@v3
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ open-doc:
cargo doc --no-deps --open

unit-test:
cargo test
cd raftify && cargo test && cd ../

test:
integration-test:
cd harness && make test && cd ../

install-cli:
Expand Down
1 change: 0 additions & 1 deletion binding/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[build-system]
requires = ["maturin>=1.0,<2.0"]

build-backend = "maturin"

[tool.maturin]
Expand Down
1 change: 0 additions & 1 deletion binding/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
maturin==1.4.0
pytest==7.3.1
pytest-benchmark==4.0.0
3 changes: 1 addition & 2 deletions examples/memstore/src/cli/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use raftify::cli::cli_handler;
use raftify::Result;
use raftify::{Result, cli::cli_handler};

use memstore::state_machine::{HashStore, LogEntry};

Expand Down
3 changes: 1 addition & 2 deletions examples/memstore/src/state_machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ use async_trait::async_trait;
use bincode::{deserialize, serialize};
use raftify::{AbstractLogEntry, AbstractStateMachine, Result};
use serde::{Deserialize, Serialize};
use std::collections::HashMap;
use std::sync::{Arc, RwLock};
use std::{sync::{Arc, RwLock}, collections::HashMap};

#[derive(Clone, Debug, Serialize, Deserialize)]
pub enum LogEntry {
Expand Down
3 changes: 1 addition & 2 deletions harness/src/state_machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ use async_trait::async_trait;
use bincode::{deserialize, serialize};
use raftify::{AbstractLogEntry, AbstractStateMachine, Result};
use serde::{Deserialize, Serialize};
use std::collections::HashMap;
use std::sync::{Arc, RwLock};
use std::{sync::{Arc, RwLock}, collections::HashMap};

#[derive(Clone, Debug, Serialize, Deserialize)]
pub enum LogEntry {
Expand Down

0 comments on commit 17e32b2

Please sign in to comment.