mirror of
https://github.com/julia-actions/julia-runtest.git
synced 2026-02-12 11:06:54 +08:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
678da69444 | ||
|
|
8ce963bd23 | ||
|
|
26c0b511fb | ||
|
|
254fe72b03 | ||
|
|
425ad5fc2f | ||
|
|
038c3e153a |
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Example.jl
|
- name: Checkout Example.jl
|
||||||
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
repository: julia-actions/Example.jl
|
repository: julia-actions/Example.jl
|
||||||
|
|
||||||
@@ -41,11 +41,11 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Checkout julia-runtest
|
- name: Checkout julia-runtest
|
||||||
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: ./.github/actions/julia-runtest
|
path: ./.github/actions/julia-runtest
|
||||||
|
|
||||||
- uses: julia-actions/setup-julia@9b79636afcfb07ab02c256cede01fe2db6ba808c # v2.6.0
|
- uses: julia-actions/setup-julia@5c9647d97b78a5debe5164e9eec09d653d29bd71 # v2.6.1
|
||||||
with:
|
with:
|
||||||
version: ${{ matrix.version }}
|
version: ${{ matrix.version }}
|
||||||
arch: ${{ matrix.arch }}
|
arch: ${{ matrix.arch }}
|
||||||
@@ -61,15 +61,15 @@ jobs:
|
|||||||
${{ runner.os }}-test-
|
${{ runner.os }}-test-
|
||||||
${{ runner.os }}-
|
${{ runner.os }}-
|
||||||
|
|
||||||
- uses: julia-actions/julia-buildpkg@90dd6f23eb49626e4e6612cb9d64d456f86e6a1c
|
- uses: julia-actions/julia-buildpkg@e3eb439fad4f9aba7da2667e7510e4a46ebc46e1 # v1.7.0
|
||||||
|
|
||||||
- uses: ./.github/actions/julia-runtest
|
- uses: ./.github/actions/julia-runtest
|
||||||
|
|
||||||
- uses: julia-actions/julia-processcoverage@03114f09f119417c3242a9fb6e0b722676aedf38
|
- uses: julia-actions/julia-processcoverage@03114f09f119417c3242a9fb6e0b722676aedf38
|
||||||
|
|
||||||
- uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673
|
- uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7
|
||||||
with:
|
with:
|
||||||
file: lcov.info
|
files: lcov.info
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
fail-ci-if-error: true
|
fail-ci-if-error: true
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/test_logger_ci.yml
vendored
4
.github/workflows/test_logger_ci.yml
vendored
@@ -32,9 +32,9 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout julia-runtest
|
- name: Checkout julia-runtest
|
||||||
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
|
||||||
- uses: julia-actions/setup-julia@9b79636afcfb07ab02c256cede01fe2db6ba808c # v2.6.0
|
- uses: julia-actions/setup-julia@5c9647d97b78a5debe5164e9eec09d653d29bd71 # v2.6.1
|
||||||
with:
|
with:
|
||||||
version: ${{ matrix.version }}
|
version: ${{ matrix.version }}
|
||||||
arch: ${{ matrix.arch }}
|
arch: ${{ matrix.arch }}
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ runs:
|
|||||||
if: inputs.annotate == 'true'
|
if: inputs.annotate == 'true'
|
||||||
- run: |
|
- run: |
|
||||||
# The Julia command that will be executed
|
# The Julia command that will be executed
|
||||||
julia_cmd=( julia --color=yes --depwarn=${{ inputs.depwarn }} --inline=${{ inputs.inline }} --project=${{ inputs.project }} -e 'include(joinpath(ENV["GITHUB_ACTION_PATH"], "test_harness.jl"))' -- ${{inputs.test_args}} )
|
julia_cmd=( julia --color=yes --inline=${{ inputs.inline }} --project=${{ inputs.project }} -e 'include(joinpath(ENV["GITHUB_ACTION_PATH"], "test_harness.jl"))' -- ${{inputs.test_args}} )
|
||||||
|
|
||||||
# Add the prefix in front of the command if there is one
|
# Add the prefix in front of the command if there is one
|
||||||
prefix=( ${{ inputs.prefix }} )
|
prefix=( ${{ inputs.prefix }} )
|
||||||
@@ -77,3 +77,4 @@ runs:
|
|||||||
CHECK_BOUNDS: ${{ inputs.check_bounds }}
|
CHECK_BOUNDS: ${{ inputs.check_bounds }}
|
||||||
COMPILED_MODULES: ${{ inputs.compiled_modules }}
|
COMPILED_MODULES: ${{ inputs.compiled_modules }}
|
||||||
ALLOW_RERESOLVE: ${{ inputs.allow_reresolve }}
|
ALLOW_RERESOLVE: ${{ inputs.allow_reresolve }}
|
||||||
|
DEPWARN: ${{ inputs.depwarn }}
|
||||||
|
|||||||
@@ -4,7 +4,10 @@ kwargs = Kwargs.kwargs(; coverage=ENV["COVERAGE"],
|
|||||||
force_latest_compatible_version=ENV["FORCE_LATEST_COMPATIBLE_VERSION"],
|
force_latest_compatible_version=ENV["FORCE_LATEST_COMPATIBLE_VERSION"],
|
||||||
allow_reresolve=ENV["ALLOW_RERESOLVE"],
|
allow_reresolve=ENV["ALLOW_RERESOLVE"],
|
||||||
julia_args=[string("--check-bounds=", ENV["CHECK_BOUNDS"]),
|
julia_args=[string("--check-bounds=", ENV["CHECK_BOUNDS"]),
|
||||||
string("--compiled-modules=", ENV["COMPILED_MODULES"])],
|
string("--compiled-modules=", ENV["COMPILED_MODULES"]),
|
||||||
|
# Needs to be done via `julia_args` to ensure `depwarn: no` is respected:
|
||||||
|
# https://github.com/JuliaLang/Pkg.jl/pull/1763#discussion_r406819660
|
||||||
|
string("--depwarn=", ENV["DEPWARN"]),],
|
||||||
test_args=ARGS,
|
test_args=ARGS,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user