Skip to content

Commit 4b192c0

Browse files
committed
Merge branch 'master' into hr/abstol_reltol
2 parents 152f89f + 6149f08 commit 4b192c0

File tree

4 files changed

+75
-3
lines changed

4 files changed

+75
-3
lines changed

.github/workflows/TagBot.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
name: TagBot
22
on:
3-
schedule:
4-
- cron: 0 * * * *
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
57
jobs:
68
TagBot:
9+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
710
runs-on: ubuntu-latest
811
steps:
912
- uses: JuliaRegistries/TagBot@v1
1013
with:
1114
token: ${{ secrets.GITHUB_TOKEN }}
15+
ssh: ${{ secrets.DOCUMENTER_KEY }}

.github/workflows/ci.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: CI
2+
3+
on:
4+
# Trigger the workflow on push or pull request,
5+
# but only for the main and dev branches branch
6+
push:
7+
branches:
8+
- master
9+
- dev
10+
pull_request:
11+
12+
jobs:
13+
test:
14+
if: "!contains(github.event.head_commit.message, 'skip ci')"
15+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
16+
runs-on: ${{ matrix.os }}
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
version:
21+
- '1'
22+
- '1.5'
23+
# - 'nightly'
24+
os:
25+
- ubuntu-latest
26+
- macOS-latest
27+
- windows-latest
28+
arch:
29+
- x64
30+
steps:
31+
- uses: actions/checkout@v2
32+
- uses: julia-actions/setup-julia@v1
33+
with:
34+
version: ${{ matrix.version }}
35+
arch: ${{ matrix.arch }}
36+
- uses: actions/cache@v1
37+
env:
38+
cache-name: cache-artifacts
39+
with:
40+
path: ~/.julia/artifacts
41+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
42+
restore-keys: |
43+
${{ runner.os }}-test-${{ env.cache-name }}-
44+
${{ runner.os }}-test-
45+
${{ runner.os }}-
46+
- uses: julia-actions/julia-buildpkg@v1
47+
- uses: julia-actions/julia-runtest@v1
48+
- uses: julia-actions/julia-processcoverage@v1
49+
- uses: codecov/codecov-action@v1
50+
with:
51+
file: ./lcov.info
52+
flags: unittests
53+
name: codecov-umbrella
54+
fail_ci_if_error: false
55+
token: ${{ secrets.CODECOV_TOKEN }}
56+
- uses: coverallsapp/github-action@master
57+
with:
58+
github-token: ${{ secrets.GITHUB_TOKEN }}
59+
flag-name: run-${{ matrix.version }}-${{ matrix.os }}-${{ matrix.arch }}
60+
parallel: true
61+
path-to-lcov: ./lcov.info

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# Iterative Solvers
22

33
[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/JuliaMath/IterativeSolvers.jl/blob/master/LICENSE)
4+
[![Build Status](https://github.com/JuliaMath/IterativeSolvers.jl/workflows/CI/badge.svg)](https://github.com/JuliaMath/IterativeSolvers.jl/actions)
45
[![Build Status on Linux](https://travis-ci.org/JuliaMath/IterativeSolvers.jl.svg?branch=master)](https://travis-ci.org/JuliaMath/IterativeSolvers.jl)
5-
[![Coverage Status](https://coveralls.io/repos/JuliaMath/IterativeSolvers.jl/badge.svg?branch=master&service=github)](https://coveralls.io/github/JuliaMath/IterativeSolvers.jl?branch=master)
6+
[![Codecov](http://codecov.io/github/JuliaMath/IterativeSolvers.jl/coverage.svg?branch=master)](http://codecov.io/github/JuliaMath/IterativeSolvers.jl?branch=master)
7+
[![Coveralls](https://coveralls.io/repos/JuliaMath/IterativeSolvers.jl/badge.svg?branch=master&service=github)](https://coveralls.io/github/JuliaMath/IterativeSolvers.jl?branch=master)
68

79
`IterativeSolvers` is a [Julia](http://julialang.org) package that provides iterative algorithms for solving linear systems, eigensystems, and singular value problems.
810

test/bicgstabl.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ n = 20
2828
@test x2 == x_guess
2929
@test norm(A * x2 - b) / norm(b) tol
3030

31+
# The following tests fails CI on Windows and Ubuntu due to a
32+
# `SingularException(4)`
33+
if T == Float32 && (Sys.iswindows() || Sys.islinux())
34+
continue
35+
end
3136
# Do an exact LU decomp of a nearby matrix
3237
F = lu(A + rand(T, n, n))
3338
x3, his3 = bicgstabl(A, b, Pl = F, l, max_mv_products = 100, log = true, tol = tol)

0 commit comments

Comments
 (0)