Skip to content

Commit bfc42b3

Browse files
committed
Move to github actions for CI
1 parent c59f5bd commit bfc42b3

File tree

3 files changed

+52
-60
lines changed

3 files changed

+52
-60
lines changed

.github/workflows/ci.yml

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- master
6+
tags: '*'
7+
pull_request:
8+
jobs:
9+
test:
10+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
version:
15+
- '1.0'
16+
- '1.3'
17+
os:
18+
- ubuntu-latest
19+
- macOS-latest
20+
- windows-latest
21+
arch:
22+
- x64
23+
steps:
24+
- uses: actions/checkout@v1
25+
- uses: julia-actions/setup-julia@latest
26+
with:
27+
version: ${{ matrix.version }}
28+
arch: ${{ matrix.arch }}
29+
- uses: julia-actions/julia-buildpkg@latest
30+
- uses: julia-actions/julia-runtest@latest
31+
- uses: julia-actions/julia-uploadcodecov@latest
32+
env:
33+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
34+
35+
# Enable the below for Documenter build
36+
# docs:
37+
# name: Documentation
38+
# runs-on: ubuntu-latest
39+
# steps:
40+
# - uses: actions/checkout@v1
41+
# - uses: julia-actions/setup-julia@latest
42+
# with:
43+
# version: '1.3'
44+
# - run: julia --project=docs -e '
45+
# using Pkg;
46+
# Pkg.develop(PackageSpec(; path=pwd()));
47+
# Pkg.instantiate();'
48+
# - run: julia --project=docs docs/make.jl
49+
# env:
50+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51+
# # Needed due to https://github.com/JuliaDocs/Documenter.jl/issues/1177
52+
# DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

.travis.yml

-21
This file was deleted.

appveyor.yml

-39
This file was deleted.

0 commit comments

Comments
 (0)