Skip to content

Commit

Permalink
Merge pull request #1 from JuliaSmoothOptimizers/ms/ci
Browse files Browse the repository at this point in the history
Adding CI
  • Loading branch information
michel2323 authored Dec 8, 2023
2 parents 75ddf8b + d35aedd commit 708a8e0
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
ignore:
- "ext/amdgpu_preconditioner.jl"
- "ext/amdgpu_wrapper.jl"
- "ext/ExaPFAMDGPUExt.jl"
coverage:
status:
project:
default:
informational: true
patch:
default:
informational: true
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on:
push:
branches:
- main
tags: '*'
pull_request:
types: [opened, synchronize, reopened]
schedule:
- cron: '0 0 * * 0'

jobs:
test-github-cpuonly:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
julia-version: ['1.9']
julia-arch: [x64]

steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.julia-version }}
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
- uses: codecov/codecov-action@v2
with:
file: lcov.info
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# DiffKrylov
[![][build-latest-img]][build-url] [![][codecov-latest-img]][codecov-latest-url]

DiffKrylov provides a differentiable API for [Krylov.jl](https://github.com/JuliaSmoothOptimizers/Krylov.jl) using [ForwardDiff.jl](https://github.com/JuliaDiff/ForwardDiff.jl). In the future, we will also support Enzyme and its reverse mode.

[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/Run%20tests/badge.svg?branch=main

0 comments on commit 708a8e0

Please sign in to comment.