Skip to content

Commit

Permalink
Use CI variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAwesome committed Nov 27, 2024
1 parent b9592db commit 27bf8b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::prelude::*;

const KNOWN_CI_ENV_VARS: &[&str] = &["GITHUB_ACTIONS", "TRAVIS", "CIRCLECI", "GITLAB_CI"];
const KNOWN_CI_ENV_VARS: &[&str] = &["CI", "GITHUB_ACTIONS", "TRAVIS", "CIRCLECI", "GITLAB_CI"];

#[must_use]
pub fn running_in_ci_container() -> bool {
Expand Down

0 comments on commit 27bf8b9

Please sign in to comment.