Skip to content

Commit bbc719d

Browse files
committed
Switch to GitHub action
1 parent 24211f4 commit bbc719d

File tree

3 files changed

+55
-63
lines changed

3 files changed

+55
-63
lines changed

.github/workflows/ci.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- master
6+
paths-ignore:
7+
- 'LICENSE.md'
8+
- 'README.md'
9+
- '.github/workflows/CompatHelper.yml'
10+
- '.github/workflows/TagBot.yml'
11+
tags: '*'
12+
pull_request:
13+
branches:
14+
- master
15+
paths-ignore:
16+
- 'LICENSE.md'
17+
- 'README.md'
18+
- '.github/workflows/CompatHelper.yml'
19+
- '.github/workflows/TagBot.yml'
20+
jobs:
21+
test:
22+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
23+
runs-on: ${{ matrix.os }}
24+
strategy:
25+
fail-fast: false
26+
matrix:
27+
version:
28+
- '1'
29+
- 'nightly'
30+
os:
31+
- ubuntu-latest
32+
arch:
33+
- x64
34+
steps:
35+
- uses: actions/checkout@v2
36+
- uses: julia-actions/setup-julia@v1
37+
with:
38+
version: ${{ matrix.version }}
39+
arch: ${{ matrix.arch }}
40+
- uses: actions/cache@v1
41+
env:
42+
cache-name: cache-artifacts
43+
with:
44+
path: ~/.julia/artifacts
45+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
46+
restore-keys: |
47+
${{ runner.os }}-test-${{ env.cache-name }}-
48+
${{ runner.os }}-test-
49+
${{ runner.os }}-
50+
- uses: julia-actions/julia-buildpkg@v1
51+
- uses: julia-actions/julia-runtest@v1
52+
- uses: julia-actions/julia-processcoverage@v1
53+
- uses: codecov/codecov-action@v1
54+
with:
55+
file: lcov.info

.travis.yml

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

appveyor.yml

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

0 commit comments

Comments
 (0)