Skip to content

Commit 902f541

Browse files
bvdmitriclaude
andcommitted
ci: silence Node 20 and Pkg.test bounds-check warnings
- bump codecov/codecov-action v5 -> v7, which uses actions/github-script v8 (Node 24); v5 pinned github-script v7.0.1, which runs on the deprecated Node 20 - run `Pkg.test` directly on Julia 1.3-1.5, since julia-actions/julia-runtest always forwards `julia_args`, unsupported before Julia 1.6 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 94cd749 commit 902f541

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,21 @@ jobs:
4949
version: ${{ matrix.version }}
5050
- uses: julia-actions/cache@v3
5151
- uses: julia-actions/julia-buildpkg@v1
52+
# `julia-actions/julia-runtest` always forwards `julia_args` to `Pkg.test`, which is
53+
# unsupported (and emits a warning) before Julia 1.6, so older versions call `Pkg.test` directly
5254
- uses: julia-actions/julia-runtest@v1
55+
if: ${{ !contains(fromJSON('["1.3", "1.4", "1.5"]'), matrix.version) }}
56+
env:
57+
USE_DEV: "false"
58+
LOG_USING_RXINFER: "false"
59+
- name: Run tests (Julia < 1.6)
60+
if: ${{ contains(fromJSON('["1.3", "1.4", "1.5"]'), matrix.version) }}
61+
run: julia --color=yes --project=@. -e 'using Pkg; Pkg.test(coverage=true)'
5362
env:
5463
USE_DEV: "false"
5564
LOG_USING_RXINFER: "false"
5665
- uses: julia-actions/julia-processcoverage@v1
57-
- uses: codecov/codecov-action@v5
66+
- uses: codecov/codecov-action@v7
5867
with:
5968
files: lcov.info
6069
env:

0 commit comments

Comments
 (0)