Skip to content

Commit

Permalink
Add codecov token
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Feb 9, 2024
1 parent 4c978a6 commit 49ca687
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 25 deletions.
6 changes: 4 additions & 2 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ steps:
- JuliaCI/julia#v1:
version: "1"
- JuliaCI/julia-test#v1:
coverage: true
coverage: true
agents:
queue: "juliagpu"
cuda: "*"
Expand All @@ -15,4 +15,6 @@ steps:
env:
GROUP: GPU
JULIA_PKG_SERVER: "" # it often struggles with our large artifacts
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=="
RETESTITEMS_NWORKERS: 4
RETESTITEMS_NWORKER_THREADS: 2
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=="
5 changes: 4 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
group:
- Core
version:
- '1'
- "1"
os:
- ubuntu-latest
- macos-latest
Expand Down Expand Up @@ -53,3 +53,6 @@ jobs:
- uses: codecov/codecov-action@v4
with:
file: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
fail_ci_if_error: true
13 changes: 8 additions & 5 deletions .github/workflows/Downgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,29 @@ on:
branches:
- master
paths-ignore:
- 'docs/**'
- "docs/**"
push:
branches:
- master
paths-ignore:
- 'docs/**'
- "docs/**"
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
version: ['1']
version: ["1"]
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
- uses: cjdoris/julia-downgrade-compat-action@v1
# if: ${{ matrix.version == '1.6' }}
with:
skip: Pkg,TOML
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-runtest@v1
env:
JULIA_NUM_THREADS: 11
RETESTITEMS_NWORKERS: 4
RETESTITEMS_NWORKER_THREADS: 2
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ ArrayInterface = "7.7"
BandedMatrices = "1.4"
BenchmarkTools = "1.4"
ConcreteStructs = "0.2.3"
CUDA = "5.1"
DiffEqBase = "6.146.0"
Enzyme = "0.11.11"
FastBroadcast = "0.2.8"
Expand Down Expand Up @@ -108,6 +109,7 @@ julia = "1.10"
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
Enzyme = "7da242da-08ed-463a-9acd-ee780be4f1d9"
FastLevenbergMarquardt = "7a0df574-e128-4d35-8cbd-3d84502bf7ce"
Expand Down Expand Up @@ -137,4 +139,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[targets]
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"]
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"]
4 changes: 2 additions & 2 deletions test/core/23_test_problems_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ end
test_on_library(problems, dicts, alg_ops, broken_tests)
end

@testitem "Broyden" setup=[RobustnessTesting] begin
@testitem "Broyden" retries=5 setup=[RobustnessTesting] begin
alg_ops = (Broyden(),
Broyden(; init_jacobian = Val(:true_jacobian)),
Broyden(; update_rule = Val(:bad_broyden)),
Expand All @@ -107,7 +107,7 @@ end
test_on_library(problems, dicts, alg_ops, broken_tests)
end

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

broken_tests = Dict(alg => Int[] for alg in alg_ops)
Expand Down
6 changes: 0 additions & 6 deletions test/gpu/Project.toml

This file was deleted.

File renamed without changes.
9 changes: 1 addition & 8 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
using Pkg, ReTestItems
using ReTestItems

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

function activate_env(env)
Pkg.activate(env)
Pkg.develop(PackageSpec(path = dirname(@__DIR__)))
Pkg.instantiate()
end

if GROUP == "All" || GROUP == "Core"
ReTestItems.runtests(joinpath(@__DIR__, "core/"),
joinpath(@__DIR__, "misc/"),
joinpath(@__DIR__, "wrappers/"))
end

if GROUP == "GPU"
activate_env("gpu")
ReTestItems.runtests(joinpath(@__DIR__, "gpu/"))
end

0 comments on commit 49ca687

Please sign in to comment.