Skip to content

Commit

Permalink
Merge pull request #33 from ranocha/travis2actions
Browse files Browse the repository at this point in the history
use GitHub actions for CI; closes #32
  • Loading branch information
ranocha committed Nov 4, 2020
2 parents eccbfbf + f29b137 commit a8b1c31
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 28 deletions.
57 changes: 57 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: CI

on:
# Trigger the workflow on push or pull request,
# but only for the main and dev branches branch
push:
branches:
- master
- dev
pull_request:

jobs:
test:
if: "!contains(github.event.head_commit.message, 'skip ci')"
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.5'
# - 'nightly'
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x64
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
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
- uses: julia-actions/julia-uploadcoveralls@v1
env:
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
File renamed without changes.
41 changes: 20 additions & 21 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
The HyperbolicDiffEq.jl package is licensed under the MIT "Expat" License:
MIT License

> Copyright (c) 2017: Hendrik Ranocha.
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.
>
Copyright (c) 2017-present Hendrik Ranocha <mail@ranocha.de>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# HyperbolicDiffEq

[![Build Status](https://travis-ci.com/ranocha/HyperbolicDiffEq.jl.svg?branch=master)](https://travis-ci.com/ranocha/HyperbolicDiffEq.jl)
[![Build Status](https://github.com/ranocha/HyperbolicDiffEq.jl/workflows/CI/badge.svg)](https://github.com/ranocha/HyperbolicDiffEq.jl/actions)
[![Build status](https://ci.appveyor.com/api/projects/status/jmeyxsfmsqhirmbv?svg=true)](https://ci.appveyor.com/project/ranocha/HyperbolicDiffEq-jl)
[![Coverage Status](https://coveralls.io/repos/github/ranocha/HyperbolicDiffEq.jl/badge.svg?branch=master)](https://coveralls.io/github/ranocha/HyperbolicDiffEq.jl?branch=master)
[![codecov.io](http://codecov.io/github/ranocha/HyperbolicDiffEq.jl/coverage.svg?branch=master)](http://codecov.io/github/ranocha/HyperbolicDiffEq.jl?branch=master)
[![Codecov](http://codecov.io/github/ranocha/HyperbolicDiffEq.jl/coverage.svg?branch=master)](http://codecov.io/github/ranocha/HyperbolicDiffEq.jl?branch=master)
[![Coveralls](https://coveralls.io/repos/github/ranocha/HyperbolicDiffEq.jl/badge.svg?branch=master)](https://coveralls.io/github/ranocha/HyperbolicDiffEq.jl?branch=master)
[![License: MIT](https://img.shields.io/badge/License-MIT-success.svg)](https://opensource.org/licenses/MIT)
9 changes: 5 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Documentation: https://github.com/JuliaCI/Appveyor.jl

environment:
matrix:
# - julia_version: 1.3 # latest 1.3.x
- julia_version: 1 # latest 1.x.y
- julia_version: 1
# - julia_version: nightly

platform:
# - x86 # 32-bit
- x64 # 64-bit
# - x86
- x64

# Uncomment the following lines to allow failures on nightly julia
# (tests will run but not make your overall status red)
Expand Down

0 comments on commit a8b1c31

Please sign in to comment.