Skip to content

Commit a0bc422

Browse files
committed
switch to GH actions
1 parent 3fd4c6e commit a0bc422

File tree

5 files changed

+46
-28
lines changed

5 files changed

+46
-28
lines changed

.github/workflows/CompatHelper.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ${{ matrix.os }}
1010
strategy:
1111
matrix:
12-
julia-version: [1.2.0]
12+
julia-version: [1.5.0]
1313
julia-arch: [x86]
1414
os: [ubuntu-latest]
1515
steps:

.github/workflows/docs.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Documentation
2+
on:
3+
push:
4+
branches:
5+
- master
6+
tags: '*'
7+
pull_request:
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: julia-actions/setup-julia@latest
14+
with:
15+
version: 1.5
16+
- name: Install dependencies
17+
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
18+
- name: Build and deploy
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
run: julia --project=docs/ docs/make.jl

.github/workflows/main.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
runs-on: ${{ matrix.os }}
6+
strategy:
7+
matrix:
8+
julia-version: ['1.5']
9+
os: [ubuntu-latest]
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: julia-actions/setup-julia@latest
13+
with:
14+
version: ${{ matrix.julia-version }}
15+
- uses: julia-actions/julia-runtest@latest
16+
- uses: julia-actions/julia-processcoverage@v1
17+
- uses: codecov/codecov-action@v1
18+
with:
19+
file: ./lcov.info
20+
flags: unittests
21+
name: codecov-umbrella
22+
fail_ci_if_error: false
23+
token: ${{ secrets.CODECOV_TOKEN }}

.travis.yml

-26
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
![logo](docs/src/assets/logo.svg)
2-
[![Build Status](https://travis-ci.org/baggepinnen/MonteCarloMeasurements.jl.svg?branch=master)](https://travis-ci.org/baggepinnen/MonteCarloMeasurements.jl)
2+
[![Build Status](https://github.com/baggepinnen/MonteCarloMeasurements.jl/workflows/CI/badge.svg)](https://github.com/baggepinnen/MonteCarloMeasurements.jl/actions)
33
[![codecov](https://codecov.io/gh/baggepinnen/MonteCarloMeasurements.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/baggepinnen/MonteCarloMeasurements.jl)
44
[![Documentation, stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://baggepinnen.github.io/MonteCarloMeasurements.jl/stable)
55
[![Documentation, latest](https://img.shields.io/badge/docs-latest-blue.svg)](https://baggepinnen.github.io/MonteCarloMeasurements.jl/latest)

0 commit comments

Comments
 (0)