GITHUB_ACTIONS

Constant GITHUB_ACTIONS 

Source
pub const GITHUB_ACTIONS: &str = "GITHUB_ACTIONS";
Expand description

Always set to true when GitHub Actions is running the workflow. You can use this variable to differentiate when tests are being run locally or by GitHub Actions.