From 163164ade42626627064e2daeb6b977a3c4f802c Mon Sep 17 00:00:00 2001 From: Samuel Moelius Date: Sun, 19 Nov 2023 17:56:04 +0000 Subject: [PATCH] Don't run CI tests when computing coverage We are running out of disk space. --- .github/workflows/coverage.yml | 9 --------- cargo-dylint/tests/ci.rs | 2 ++ 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index ed5eccd82..6a447a3ee 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -35,15 +35,6 @@ jobs: - name: Install dylint-link run: cargo install --path ./dylint-link - - name: Install tools - run: | - npm install -g prettier - rustup install nightly - cargo install cargo-hack || true - cargo install cargo-msrv || true - cargo install cargo-supply-chain || true - cargo install cargo-udeps || true - - name: Install cargo-llvm-cov run: cargo install cargo-llvm-cov diff --git a/cargo-dylint/tests/ci.rs b/cargo-dylint/tests/ci.rs index d8eb8220c..e05ceb661 100644 --- a/cargo-dylint/tests/ci.rs +++ b/cargo-dylint/tests/ci.rs @@ -1,3 +1,5 @@ +#![cfg(not(coverage))] + use anyhow::Result; use assert_cmd::Command; use cargo_metadata::{Dependency, Metadata, MetadataCommand};