From 27cdf71152d653695bfbc691d35018c39be34acf Mon Sep 17 00:00:00 2001 From: Mathieu Poumeyrol Date: Mon, 2 Sep 2024 11:17:44 +0200 Subject: [PATCH] rework check all targets --- .github/workflows/full.yml | 12 +----------- api/rs/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/full.yml b/.github/workflows/full.yml index 750270194f..96f9b7ea11 100644 --- a/.github/workflows/full.yml +++ b/.github/workflows/full.yml @@ -137,17 +137,7 @@ jobs: - name: Check all targets run: | ROOT=$(pwd) ./.travis/ci-system-setup.sh - cargo check --all-targets - - check-all: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Check all - env: - AWS_EC2_METADATA_DISABLED: true - run: cargo check --all-targets --workspace + cargo check --all-targets --workspace cli-tests: runs-on: ubuntu-latest diff --git a/api/rs/src/lib.rs b/api/rs/src/lib.rs index c22a4bf874..e887f63e4b 100644 --- a/api/rs/src/lib.rs +++ b/api/rs/src/lib.rs @@ -263,7 +263,7 @@ impl ModelInterface for Model { E: Into + Debug, { let mut annotations = Annotations::from_model(&self.0)?; - tract_libcli::profile::extract_costs(&mut annotations, &self.0)?; + tract_libcli::profile::extract_costs(&mut annotations, &self.0, &SymbolValues::default())?; if let Some(inputs) = inputs { let inputs = inputs .into_iter()