Skip to content

Commit f07e738

Browse files
authored
[CI] Make System info step issue code coverage info (#360)
1 parent cedd340 commit f07e738

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,13 @@ jobs:
7373
cache-registries: "false"
7474
- uses: julia-actions/julia-buildpkg@latest
7575
- name: System info
76-
run: julia --project=. --color=yes -e "using BinaryBuilderBase; BinaryBuilderBase.versioninfo()"
76+
run: |
77+
args=(--check-bounds=yes --color=yes --depwarn=yes --inline=yes --project=@.)
78+
# On Julia v1.8+ issue the code coverage info for this command.
79+
if [[ "${{ matrix.julia-version }}" != "1.7" ]]; then
80+
args+=(--code-coverage="@${PWD}")
81+
fi
82+
julia "${args[@]}" -e "using BinaryBuilderBase; BinaryBuilderBase.versioninfo()"
7783
- name: Run tests
7884
run: |
7985
eval `ssh-agent`

0 commit comments

Comments
 (0)