Skip to content

Commit 44ef2e7

Browse files
authored
Enable colored output in CI tests (#717)
1 parent 66cafd3 commit 44ef2e7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/Documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
version: '1' # TODO: 1
4242
- uses: julia-actions/cache@v1
4343
- name: Install dependencies
44-
run: julia --project=${{ matrix.pkg.dir}}/docs/ -e '
44+
run: julia --project=${{ matrix.pkg.dir}}/docs/ --color=yes -e '
4545
using Pkg;
4646
Pkg.Registry.update();
4747
if "${{ matrix.pkg.name}}" == "DifferentiationInterface";
@@ -54,4 +54,4 @@ jobs:
5454
env:
5555
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
5656
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
57-
run: julia --project=${{ matrix.pkg.dir}}/docs/ ${{ matrix.pkg.dir}}/docs/make.jl
57+
run: julia --project=${{ matrix.pkg.dir}}/docs/ --color=yes ${{ matrix.pkg.dir}}/docs/make.jl

.github/workflows/Test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
- uses: julia-actions/cache@v2
7070
- name: Install dependencies & run tests
7171
# how to add the local DIT to the DI test env?
72-
run: julia --project=./DifferentiationInterface -e '
72+
run: julia --project=./DifferentiationInterface --color=yes -e '
7373
using Pkg;
7474
Pkg.Registry.update();
7575
Pkg.test("DifferentiationInterface"; coverage=true);'
@@ -117,7 +117,7 @@ jobs:
117117
arch: x64
118118
- uses: julia-actions/cache@v2
119119
- name: Install dependencies & run tests
120-
run: julia --project=./DifferentiationInterfaceTest -e '
120+
run: julia --project=./DifferentiationInterfaceTest --color=yes -e '
121121
using Pkg;
122122
Pkg.Registry.update();
123123
Pkg.develop(path="./DifferentiationInterface");

0 commit comments

Comments
 (0)