Skip to content

Commit 16eb888

Browse files
committed
Add codecov token
1 parent 4c978a6 commit 16eb888

File tree

7 files changed

+14
-20
lines changed

7 files changed

+14
-20
lines changed

Diff for: .buildkite/pipeline.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ steps:
44
- JuliaCI/julia#v1:
55
version: "1"
66
- JuliaCI/julia-test#v1:
7-
coverage: true
7+
coverage: true
88
agents:
99
queue: "juliagpu"
1010
cuda: "*"
@@ -15,4 +15,6 @@ steps:
1515
env:
1616
GROUP: GPU
1717
JULIA_PKG_SERVER: "" # it often struggles with our large artifacts
18-
SECRET_CODECOV_TOKEN: "HC7K/ymhi62KUQ5OLU4DOl+11gaQt4JhXX/2nfTGlTsBB8mEMxQ8R+sHIp/2HjEup5eSXAN2IWQDQ7RDBuQvVp0T1UVtr2e4YNZFztKnsJXrFO15hXxYShJodI//X/8DzhlQd/lyTDOAOJu3eznsc3sC2CUgJzXZxLUtQN9YaZ1i3a+NoN1mO5UpkkHVhXigwF5gjy+0tei8fCdcP+SIhG0EanS5yd9q/SurtCpMHsHyUG97+ZVPglSKgdaqr31+PdmiPJ+ynp4+Hnc/esosxUSHSIL+ryRTO+28RNwPTiNf99J51RJLQmz1knWTR1ky6tiYIZ5218O6wvNil0SqNw==;U2FsdGVkX18nBY3t4LZYlEIz3EVKjpqCd994JNeJGt006up+sAjXEssI0tgCVXnfXsenVsP3NCCEoOS1GXc44g=="
18+
RETESTITEMS_NWORKERS: 4
19+
RETESTITEMS_NWORKER_THREADS: 2
20+
SECRET_CODECOV_TOKEN: "HC7K/ymhi62KUQ5OLU4DOl+11gaQt4JhXX/2nfTGlTsBB8mEMxQ8R+sHIp/2HjEup5eSXAN2IWQDQ7RDBuQvVp0T1UVtr2e4YNZFztKnsJXrFO15hXxYShJodI//X/8DzhlQd/lyTDOAOJu3eznsc3sC2CUgJzXZxLUtQN9YaZ1i3a+NoN1mO5UpkkHVhXigwF5gjy+0tei8fCdcP+SIhG0EanS5yd9q/SurtCpMHsHyUG97+ZVPglSKgdaqr31+PdmiPJ+ynp4+Hnc/esosxUSHSIL+ryRTO+28RNwPTiNf99J51RJLQmz1knWTR1ky6tiYIZ5218O6wvNil0SqNw==;U2FsdGVkX18nBY3t4LZYlEIz3EVKjpqCd994JNeJGt006up+sAjXEssI0tgCVXnfXsenVsP3NCCEoOS1GXc44g=="

Diff for: .github/workflows/CI.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
group:
2121
- Core
2222
version:
23-
- '1'
23+
- "1"
2424
os:
2525
- ubuntu-latest
2626
- macos-latest
@@ -53,3 +53,6 @@ jobs:
5353
- uses: codecov/codecov-action@v4
5454
with:
5555
file: lcov.info
56+
token: ${{ secrets.CODECOV_TOKEN }}
57+
verbose: true
58+
fail_ci_if_error: true

Diff for: Project.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ ArrayInterface = "7.7"
6060
BandedMatrices = "1.4"
6161
BenchmarkTools = "1.4"
6262
ConcreteStructs = "0.2.3"
63+
CUDA = "5.1"
6364
DiffEqBase = "6.146.0"
6465
Enzyme = "0.11.11"
6566
FastBroadcast = "0.2.8"
@@ -108,6 +109,7 @@ julia = "1.10"
108109
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
109110
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
110111
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
112+
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
111113
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
112114
Enzyme = "7da242da-08ed-463a-9acd-ee780be4f1d9"
113115
FastLevenbergMarquardt = "7a0df574-e128-4d35-8cbd-3d84502bf7ce"
@@ -137,4 +139,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
137139
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
138140

139141
[targets]
140-
test = ["Aqua", "Enzyme", "BenchmarkTools", "SafeTestsets", "Pkg", "Test", "ForwardDiff", "StaticArrays", "Symbolics", "LinearSolve", "Random", "LinearAlgebra", "Zygote", "SparseDiffTools", "NonlinearProblemLibrary", "LeastSquaresOptim", "FastLevenbergMarquardt", "NaNMath", "BandedMatrices", "DiffEqBase", "StableRNGs", "MINPACK", "NLsolve", "OrdinaryDiffEq", "SpeedMapping", "FixedPointAcceleration", "SIAMFANLEquations", "Sundials", "ReTestItems", "Reexport"]
142+
test = ["Aqua", "Enzyme", "BenchmarkTools", "SafeTestsets", "Pkg", "Test", "ForwardDiff", "StaticArrays", "Symbolics", "LinearSolve", "Random", "LinearAlgebra", "Zygote", "SparseDiffTools", "NonlinearProblemLibrary", "LeastSquaresOptim", "FastLevenbergMarquardt", "NaNMath", "BandedMatrices", "DiffEqBase", "StableRNGs", "MINPACK", "NLsolve", "OrdinaryDiffEq", "SpeedMapping", "FixedPointAcceleration", "SIAMFANLEquations", "Sundials", "ReTestItems", "Reexport", "CUDA"]

Diff for: test/core/23_test_problems_tests.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ end
9292
test_on_library(problems, dicts, alg_ops, broken_tests)
9393
end
9494

95-
@testitem "Broyden" setup=[RobustnessTesting] begin
95+
@testitem "Broyden" retries=5 setup=[RobustnessTesting] begin
9696
alg_ops = (Broyden(),
9797
Broyden(; init_jacobian = Val(:true_jacobian)),
9898
Broyden(; update_rule = Val(:bad_broyden)),
@@ -107,7 +107,7 @@ end
107107
test_on_library(problems, dicts, alg_ops, broken_tests)
108108
end
109109

110-
@testitem "Klement" setup=[RobustnessTesting] begin
110+
@testitem "Klement" retries=5 setup=[RobustnessTesting] begin
111111
alg_ops = (Klement(), Klement(; init_jacobian = Val(:true_jacobian_diagonal)))
112112

113113
broken_tests = Dict(alg => Int[] for alg in alg_ops)

Diff for: test/gpu/Project.toml

-6
This file was deleted.
File renamed without changes.

Diff for: test/runtests.jl

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,13 @@
1-
using Pkg, ReTestItems
1+
using ReTestItems
22

33
const GROUP = get(ENV, "GROUP", "All")
44

5-
function activate_env(env)
6-
Pkg.activate(env)
7-
Pkg.develop(PackageSpec(path = dirname(@__DIR__)))
8-
Pkg.instantiate()
9-
end
10-
115
if GROUP == "All" || GROUP == "Core"
126
ReTestItems.runtests(joinpath(@__DIR__, "core/"),
137
joinpath(@__DIR__, "misc/"),
148
joinpath(@__DIR__, "wrappers/"))
159
end
1610

1711
if GROUP == "GPU"
18-
activate_env("gpu")
1912
ReTestItems.runtests(joinpath(@__DIR__, "gpu/"))
2013
end

0 commit comments

Comments
 (0)