Skip to content

Commit

Permalink
[site] mention CARGO_TERM_COLOR=always for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshowers committed May 23, 2022
1 parent 124bf00 commit 3278ac3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
continue-on-error: true
env:
RUSTFLAGS: -D warnings
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand Down
11 changes: 11 additions & 0 deletions site/src/book/pre-built-binaries.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,17 @@ To install a version series or specific version, use this instead:
# version: 0.9.11
```

> **Tip:** GitHub Actions supports ANSI color codes. To get color support for nextest (and Cargo), add this to your workflow:
>
> ```yml
> jobs:
> my-test-job:
> env:
> CARGO_TERM_COLOR: always
> ```
>
> For a full list of environment variables supported by nextest, see [Environment variables](env-vars.md).

### Other CI systems

Install pre-built binaries on other CI systems by downloading and extracting the respective archives, using the commands above as a guide. See [Release URLs](release-urls.md) for more about how to specify nextest versions and platforms.
Expand Down

0 comments on commit 3278ac3

Please sign in to comment.