Skip to content

Commit 837d71a

Browse files
Merge pull request #356 from SciML/massinstallaction/set-up-GitHubActionsCI
MassInstallAction: Install the GitHubActionsCI workflow on this repository
2 parents 56b39c0 + 361a20f commit 837d71a

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.github/workflows/CI.yml

+32
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

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# SciMLTutorials.jl: Tutorials for Scientific Machine Learning and Differential Equations
22

3+
[![Build Status](https://github.com/SciML/SciMLTutorials.jl/workflows/CI/badge.svg)](https://github.com/SciML/SciMLTutorials.jl/actions?query=workflow%3ACI)
4+
35
[![Join the chat at https://gitter.im/JuliaDiffEq/Lobby](https://badges.gitter.im/JuliaDiffEq/Lobby.svg)](https://gitter.im/JuliaDiffEq/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
46

57
SciMLTutorials.jl holds PDFs, webpages, and interactive Jupyter notebooks

0 commit comments

Comments
 (0)