diff --git a/.github/codecov.yml b/.github/codecov.yml index d463fbf..bfdc987 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -1,7 +1,3 @@ -ignore: - - "ext/amdgpu_preconditioner.jl" - - "ext/amdgpu_wrapper.jl" - - "ext/ExaPFAMDGPUExt.jl" coverage: status: project: @@ -9,4 +5,4 @@ coverage: informational: true patch: default: - informational: true \ No newline at end of file + informational: true diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4b23dd..723fed2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,22 +10,28 @@ on: schedule: - cron: '0 0 * * 0' +permissions: + actions: write + contents: read + jobs: test-github-cpuonly: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-22.04] - julia-version: ['1.9'] + julia-version: ['1.10'] julia-arch: [x64] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@latest with: version: ${{ matrix.julia-version }} + - uses: julia-actions/cache@v1 - uses: julia-actions/julia-buildpkg@latest - uses: julia-actions/julia-runtest@latest - - uses: codecov/codecov-action@v2 + - uses: julia-actions/julia-processcoverage@v1 + - uses: codecov/codecov-action@v3 with: file: lcov.info diff --git a/README.md b/README.md index 7abeea9..a556fb6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # DiffKrylov -[![][build-latest-img]][build-url] [![][codecov-latest-img]][codecov-latest-url] +[![CI](https://github.com/JuliaSmoothOptimizers/DiffKrylov.jl/actions/workflows/ci.yml/badge.svg)](https://github.com/JuliaSmoothOptimizers/DiffKrylov.jl/actions/workflows/ci.yml) DiffKrylov provides a differentiable API for [Krylov.jl](https://github.com/JuliaSmoothOptimizers/Krylov.jl) using @@ -37,9 +37,3 @@ A = rand(64,64) b = rand(64) J = ForwardDiff.jacobian(x -> gmres(A, x)[1], b) ``` - -[codecov-latest-img]: https://codecov.io/gh/JuliaSmoothOptimizers/DiffKrylov.jl/branch/main/graphs/badge.svg?branch=main -[codecov-latest-url]: https://codecov.io/github/JuliaSmoothOptimizers/DiffKrylov.jl?branch=main - -[build-url]: https://github.com/JuliaSmoothOptimizers/DiffKrylov.jl/actions?query=workflow -[build-latest-img]: https://github.com/JuliaSmoothOptimizers/DiffKrylov.jl/workflows/CI/badge.svg?branch=main