Skip to content

Commit 8ded219

Browse files
committed
[CI] Update some GitHub Actions workflows
1 parent 7c82b89 commit 8ded219

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
# cache-artifacts: "true"
9999
# cache-packages: "false"
100100
# cache-registries: "false"
101-
- uses: julia-actions/julia-buildpkg@latest
101+
- uses: julia-actions/julia-buildpkg@v1
102102
- name: System info
103103
run: |
104104
args=(--check-bounds=yes --color=yes --depwarn=yes --inline=yes --project=@.)
@@ -107,16 +107,24 @@ jobs:
107107
args+=(--code-coverage="@${PWD}")
108108
fi
109109
julia "${args[@]}" -e "using BinaryBuilderBase; BinaryBuilderBase.versioninfo()"
110-
- name: Run tests
110+
- name: Set up SSH agent
111111
run: |
112112
eval `ssh-agent`
113113
chmod 0600 test/id_ecdsa_deploy_helloworld_c_jll_read_only
114114
mkdir -p ~/.ssh
115115
touch ~/.ssh/known_hosts
116116
ssh-keyscan github.com >> ~/.ssh/known_hosts
117117
ssh-add test/id_ecdsa_deploy_helloworld_c_jll_read_only
118-
julia --check-bounds=yes --color=yes --depwarn=yes --inline=yes --project=@. -e 'using Pkg; Pkg.instantiate(); Pkg.test(coverage=true)'
119-
- uses: julia-actions/[email protected]
118+
- uses: julia-actions/julia-runtest@v1
119+
- uses: julia-actions/julia-processcoverage@v1
120+
- uses: codecov/codecov-action@v5
120121
continue-on-error: true
121-
- uses: julia-actions/[email protected]
122+
with:
123+
files: lcov.info
124+
- uses: coverallsapp/github-action@v2
122125
continue-on-error: true
126+
with:
127+
github-token: ${{ secrets.GITHUB_TOKEN }}
128+
path-to-lcov: lcov.info
129+
flag-name: run-${{ join(matrix.*, '-') }}
130+
parallel: true

0 commit comments

Comments
 (0)