8

I tried to find meaning of CI inside Github Actions documentation, but I can not find detailed explanation.

Except this

CI  Always set to true.

2 Answers 2

9

it's the environment variable defined by convention in many CI servers like github action, Gitlab, Travis etc. Its value is always set to true when builds run in those servers.

Many tools check whether that variable is set to true and adjust their configuration and output to be suitable for CI environment. E.g. some tools are interactive by default, but if CI=true, it will skip user prompt and use default values/passed in arguments. Another example is pipenv that has special configuration when CI=true: https://github.com/pypa/pipenv/blob/207f2f565d2c4493bd8cdfb55a9b565aa58984fc/pipenv/environments.py#L27

Sign up to request clarification or add additional context in comments.

Comments

4

The abbreviation CI in this context stands for Continuous Integration

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.