From 3ca640fffde656c1bf2b01c0b46db229d2fa1d09 Mon Sep 17 00:00:00 2001 From: Tom Trogdon Date: Thu, 25 Mar 2021 13:19:47 -0700 Subject: [PATCH 1/3] Create CI.yml --- .github/workflows/CI.yml | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/CI.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..1d63940 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,42 @@ +name: CI +on: + - push + - pull_request +jobs: + test: + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + version: + - '1.5' + - '^1.6.0-0' + 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 From fa036c52b2f376730ab9ce8470c86cdb37e4c350 Mon Sep 17 00:00:00 2001 From: Tom Trogdon Date: Thu, 25 Mar 2021 13:24:07 -0700 Subject: [PATCH 2/3] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f14c72d..2ea877c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ApproxFunRational - -[![Build Status](https://travis-ci.com/tomtrogdon/ApproxFunRational.jl.svg?branch=master)](https://travis-ci.com/tomtrogdon/ApproxFunRational.jl) +[![Build Status](https://github.com/tomtrogdon/ApproxFunRational.jl/workflows/CI/badge.svg)](https://github.com/tomtrogdon/ApproxFunRational.jl/actions) + [![Codecov](https://codecov.io/gh/tomtrogdon/ApproxFunRational.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/tomtrogdon/ApproxFunRational.jl) [![Coveralls](https://coveralls.io/repos/github/tomtrogdon/ApproxFunRational.jl/badge.svg?branch=master)](https://coveralls.io/github/tomtrogdon/ApproxFunRational.jl?branch=master) [![DOI](https://zenodo.org/badge/215157266.svg)](https://zenodo.org/badge/latestdoi/215157266) From c7dca47b3016fad1466249e557e298c43a4b87d7 Mon Sep 17 00:00:00 2001 From: Tom Trogdon Date: Thu, 25 Mar 2021 13:24:23 -0700 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2ea877c..9e02302 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ApproxFunRational [![Build Status](https://github.com/tomtrogdon/ApproxFunRational.jl/workflows/CI/badge.svg)](https://github.com/tomtrogdon/ApproxFunRational.jl/actions) - [![Codecov](https://codecov.io/gh/tomtrogdon/ApproxFunRational.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/tomtrogdon/ApproxFunRational.jl) [![Coveralls](https://coveralls.io/repos/github/tomtrogdon/ApproxFunRational.jl/badge.svg?branch=master)](https://coveralls.io/github/tomtrogdon/ApproxFunRational.jl?branch=master) [![DOI](https://zenodo.org/badge/215157266.svg)](https://zenodo.org/badge/latestdoi/215157266) +