Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CompatHelper

on:
schedule:
- cron: '00 * * * *'
- cron: '0 0 * * *'
issues:
types: [opened, reopened]

Expand Down
45 changes: 45 additions & 0 deletions .github/workflows/ContinuousIntegration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: ContinuousIntegration

on:
pull_request:
branches:
- master
push:

jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.7' # Minimum supporter Julia version.
- '1' # Latest stable 1.x release of Julia.
os:
- ubuntu-latest
arch:
- x64
- x86
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
file: lcov.info
34 changes: 34 additions & 0 deletions .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Documentation

on:
pull_request:
branches:
- master
push:
branches:
- master
tags: '*'

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- run: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- run: |
julia --project=docs -e '
using Documenter: DocMeta, doctest
using GraphMatFun
DocMeta.setdocmeta!(GraphMatFun, :DocTestSetup, :(using GraphMatFun); recursive=true)
doctest(GraphMatFun)'
- run: julia --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
40 changes: 0 additions & 40 deletions .travis.yml

This file was deleted.

File renamed without changes.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://matrixfunctions.github.io/GraphMatFun.jl/stable)
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://matrixfunctions.github.io/GraphMatFun.jl/dev)
[![Build Status](https://travis-ci.com/matrixfunctions/GraphMatFun.jl.svg?token=1D6L5XDzryqshBZ5ijUH&branch=main)](https://travis-ci.com/matrixfunctions/GraphMatFun.jl)
[![Tests](https://img.shields.io/github/workflow/status/matrixfunctions/GraphMatFun.jl/ContinuousIntegration?label=tests)](https://github.com/matrixfunctions/GraphMatFun.jl/actions/workflows/ContinuousIntegration.yml)
[![codecov](https://codecov.io/gh/matrixfunctions/GraphMatFun.jl/branch/main/graph/badge.svg?token=ZTKNBNMDEZ)](https://codecov.io/gh/matrixfunctions/GraphMatFun.jl)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the role of the "token" now? The discourse example https://raw.githubusercontent.com/invenia/PkgTemplates.jl/master/README.md suggests it would be [![Codecov](https://codecov.io/gh/matrixfunctions/GraphMatFun.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/matrixfunctions/GraphMatFun.jl)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For our repository the query string is necessary, and in fact the badge doesn't work without it: compare

https://codecov.io/gh/matrixfunctions/GraphMatFun.jl/branch/master/graph/badge.svg

with

https://codecov.io/gh/matrixfunctions/GraphMatFun.jl/branch/main/graph/badge.svg?token=ZTKNBNMDEZ.

The markdown snippet is the one recommended on the Codecov settings for our repository:

https://app.codecov.io/gh/matrixfunctions/GraphMatFun.jl/settings/badge

[![GitHub](https://img.shields.io/github/license/matrixfunctions/GraphMatFun.jl)](LICENSE.md)


This package contains functionality to represent, manipulate and optimize algorithms for matrix functions using directed acyclic graphs. It also contains code generate features for other languages (Julia, MATLAB, C/BLAS).
Expand All @@ -22,4 +23,4 @@ julia> ]
(v1.7) pkg> add GraphMatFun
```

You can now follow the examples in the [online package documentation](https://matrixfunctions.github.io/GraphMatFun.jl/dev/).
You can now follow the examples in the [online package documentation](https://matrixfunctions.github.io/GraphMatFun.jl/dev/).