Skip to content

Commit

Permalink
Merge pull request #1 from bazeltools/ianoc/updatingIndexOnTheFly
Browse files Browse the repository at this point in the history
A lot more test coverage
  • Loading branch information
ianoc authored Oct 26, 2020
2 parents 5dc4dc4 + 1198c94 commit 7265e4f
Show file tree
Hide file tree
Showing 16 changed files with 1,179 additions and 196 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: cargo
directory: "/bazelfe-core"
schedule:
interval: daily
open-pull-requests-limit: 99
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test
on:
push:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [macos-latest, ubuntu-latest]
include:
- os: macos-latest
platform: macos
- os: ubuntu-latest
platform: linux
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions bazelfe-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ bazelfe-protos = { path = "../bazelfe-protos" }
tempfile = "3.1.0"
pinky-swear = "4.0.0"
tower = "0.3"
once_cell = "1.4.1"

[features]
dev-binaries=[]
Expand Down
2 changes: 1 addition & 1 deletion bazelfe-core/src/bazel_runner/bazel_runner_app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
info!("Services listening on {}", addr);

let (bes, sender_arc, _) =
bazelfe_core::build_events::build_event_server::build_bazel_build_events_service();
bazelfe_core::build_events::build_event_server::build_bazel_build_events_service();

let bes_port: u16 = addr.port();

Expand Down
1 change: 0 additions & 1 deletion bazelfe-core/src/bazel_runner/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ pub async fn execute_bazel_output_control<S: Into<String> + Clone>(
}
}
pub mod action_event_stream;
pub mod expand_target_to_guesses;
pub mod process_build_abort_errors;
pub mod process_missing_dependency_errors;
mod sanitization_tools;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::{build_events::build_event_server::bazel_event::ProgressEvt};
use crate::build_events::build_event_server::bazel_event::ProgressEvt;
use bazelfe_protos::*;
use lazy_static::lazy_static;

Expand Down
Loading

0 comments on commit 7265e4f

Please sign in to comment.