Skip to content

Commit eeaa96b

Browse files
Merge pull request #676 from SciML/massinstallaction/set-up-GitHubActionsCI
MassInstallAction: Install the GitHubActionsCI workflow on this repository
2 parents 9fc7d02 + 1af5405 commit eeaa96b

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.github/workflows/CI.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
branches:
5+
- master
6+
push:
7+
branches:
8+
- master
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: julia-actions/setup-julia@v1
15+
with:
16+
version: 1
17+
- uses: actions/cache@v1
18+
env:
19+
cache-name: cache-artifacts
20+
with:
21+
path: ~/.julia/artifacts
22+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
23+
restore-keys: |
24+
${{ runner.os }}-test-${{ env.cache-name }}-
25+
${{ runner.os }}-test-
26+
${{ runner.os }}-
27+
- uses: julia-actions/julia-buildpkg@v1
28+
- uses: julia-actions/julia-runtest@v1
29+
- uses: julia-actions/julia-processcoverage@v1
30+
- uses: codecov/codecov-action@v1
31+
with:
32+
file: lcov.info

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# ModelingToolkit.jl
22

3+
[![Build Status](https://github.com/SciML/ModelingToolkit.jl/workflows/CI/badge.svg)](https://github.com/SciML/ModelingToolkit.jl/actions?query=workflow%3ACI)
4+
35
[![Github Action CI](https://github.com/SciML/ModelingToolkit.jl/workflows/CI/badge.svg)](https://github.com/SciML/ModelingToolkit.jl/actions)
46
[![Coverage Status](https://coveralls.io/repos/github/SciML/ModelingToolkit.jl/badge.svg?branch=master)](https://coveralls.io/github/SciML/ModelingToolkit.jl?branch=master)
57
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](http://mtk.sciml.ai/stable/)

0 commit comments

Comments
 (0)