Skip to content

Commit 02b9af3

Browse files
Replace travis and appveyor with github ci
1 parent a72809e commit 02b9af3

File tree

3 files changed

+74
-94
lines changed

3 files changed

+74
-94
lines changed

.github/workflows/ci.yml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
branches:
5+
- master
6+
push:
7+
branches:
8+
- master
9+
tags: '*'
10+
jobs:
11+
test:
12+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
include:
18+
- version: 'nightly'
19+
os: ubuntu-latest
20+
arch:
21+
- x64
22+
- x86
23+
- version: '1'
24+
os: ubuntu-latest
25+
arch:
26+
- x64
27+
- x86
28+
- version: '1.3'
29+
os: ubuntu-latest
30+
arch:
31+
- x64
32+
- x86
33+
- version: '1'
34+
os: windows-latest
35+
arch: x64
36+
steps:
37+
- uses: actions/checkout@v2
38+
- uses: julia-actions/setup-julia@v1
39+
with:
40+
version: ${{ matrix.version }}
41+
arch: ${{ matrix.arch }}
42+
- uses: actions/cache@v1
43+
env:
44+
cache-name: cache-artifacts
45+
with:
46+
path: ~/.julia/artifacts
47+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
48+
restore-keys: |
49+
${{ runner.os }}-test-${{ env.cache-name }}-
50+
${{ runner.os }}-test-
51+
${{ runner.os }}-
52+
- uses: julia-actions/julia-buildpkg@v1
53+
- uses: julia-actions/julia-runtest@v1
54+
- uses: julia-actions/julia-processcoverage@v1
55+
- uses: codecov/codecov-action@v1
56+
with:
57+
file: lcov.info
58+
docs:
59+
name: Documentation
60+
runs-on: ubuntu-latest
61+
steps:
62+
- uses: actions/checkout@v2
63+
- uses: julia-actions/setup-julia@v1
64+
with:
65+
version: '1'
66+
- run: |
67+
julia --project=docs -e '
68+
using Pkg
69+
Pkg.develop(PackageSpec(path=pwd()))
70+
Pkg.instantiate()'
71+
- run: julia --project=docs docs/make.jl
72+
env:
73+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
74+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

.travis.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

appveyor.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)