Skip to content

Commit af475d3

Browse files
committed
[CI] Tests must be run in the same step as the one setting up the SSH agent
1 parent 56aac61 commit af475d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@ jobs:
109109
args+=(--code-coverage="@${PWD}")
110110
fi
111111
julia "${args[@]}" -e "using BinaryBuilderBase; BinaryBuilderBase.versioninfo()"
112-
- name: Set up SSH agent
112+
- name: Run tests
113113
run: |
114114
eval `ssh-agent`
115115
chmod 0600 test/id_ecdsa_deploy_helloworld_c_jll_read_only
116116
mkdir -p ~/.ssh
117117
touch ~/.ssh/known_hosts
118118
ssh-keyscan github.com >> ~/.ssh/known_hosts
119119
ssh-add test/id_ecdsa_deploy_helloworld_c_jll_read_only
120-
- uses: julia-actions/julia-runtest@v1
120+
julia --check-bounds=yes --color=yes --depwarn=yes --inline=yes --project=@. -e 'using Pkg; Pkg.instantiate(); Pkg.test(coverage=true)'
121121
- uses: julia-actions/julia-processcoverage@v1
122122
- uses: codecov/codecov-action@v5
123123
continue-on-error: true

0 commit comments

Comments
 (0)