GitHub actions (#3)

support github actions
This commit is contained in:
Sijie.Sun
2024-01-28 15:56:42 +08:00
committed by GitHub
parent 9779923b87
commit 6271f9a7a7
4 changed files with 83 additions and 39 deletions
+1 -5
View File
@@ -162,10 +162,7 @@ impl VirtualNic {
}
#[cfg(test)]
mod tests {
use crate::{
common::{error::Error, global_ctx::tests::get_mock_global_ctx},
tests::enable_log,
};
use crate::common::{error::Error, global_ctx::tests::get_mock_global_ctx};
use super::VirtualNic;
@@ -184,7 +181,6 @@ mod tests {
#[tokio::test]
async fn tun_test() {
enable_log();
let _dev = run_test_helper().await.unwrap();
// let mut stream = nic.pin_recv_stream();