diff --git a/.github/workflows/optimizer-expensive-tests.yml b/.github/workflows/optimizer-expensive-tests.yml deleted file mode 100644 index 6a1b4ddac..000000000 --- a/.github/workflows/optimizer-expensive-tests.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Continuous integration - Extra tests - -on: - push: - branches: [ main, testci ] - pull_request: - -env: - CARGO_TERM_COLOR: always -jobs: - check-concrete-optimizer-expensive-tests: - runs-on: ubuntu-20.04 - env: - RUSTFLAGS: -D warnings - steps: - - uses: actions/checkout@v3 - - - name: "Setup" - uses: ./.github/workflows/setup - with: - ssh_private_key: ${{ secrets.CONCRETE_COMPILER_CI_SSH_PRIVATE }} - - - name: Tests - run: | - cd v0-parameters - cargo test --release --no-fail-fast --features=expensive_tests diff --git a/v0-parameters/src/lib.rs b/v0-parameters/src/lib.rs index 7acf7cf50..9037ece71 100644 --- a/v0-parameters/src/lib.rs +++ b/v0-parameters/src/lib.rs @@ -201,18 +201,8 @@ mod tests { use super::*; use concrete_optimizer::security::security_weights::SECURITY_WEIGHTS_TABLE; - #[cfg(not(feature = "expensive_tests"))] - const ONLY_SOME_SECURITY_LEVELS: bool = true; - - #[cfg(feature = "expensive_tests")] - const ONLY_SOME_SECURITY_LEVELS: bool = false; - fn security_levels_to_test() -> Vec { - if ONLY_SOME_SECURITY_LEVELS { - vec![128] - } else { - SECURITY_WEIGHTS_TABLE.keys().copied().collect() - } + SECURITY_WEIGHTS_TABLE.keys().copied().collect() } #[test]