Skip to content

Commit 1ca653a

Browse files
authored
Merge pull request #3 from dilumaluthge-forks/massinstallaction/set-up-CI
Move from Travis CI to GitHub Actions CI
2 parents 79e0456 + 548ae43 commit 1ca653a

File tree

3 files changed

+46
-17
lines changed

3 files changed

+46
-17
lines changed

.github/workflows/ci.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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+
version:
18+
- '1.0'
19+
- '1'
20+
os:
21+
- ubuntu-latest
22+
arch:
23+
- x64
24+
steps:
25+
- uses: actions/checkout@v2
26+
- uses: julia-actions/setup-julia@v1
27+
with:
28+
version: ${{ matrix.version }}
29+
arch: ${{ matrix.arch }}
30+
- uses: actions/cache@v1
31+
env:
32+
cache-name: cache-artifacts
33+
with:
34+
path: ~/.julia/artifacts
35+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
36+
restore-keys: |
37+
${{ runner.os }}-test-${{ env.cache-name }}-
38+
${{ runner.os }}-test-
39+
${{ runner.os }}-
40+
- uses: julia-actions/julia-buildpkg@v1
41+
- uses: julia-actions/julia-runtest@v1
42+
- uses: julia-actions/julia-processcoverage@v1
43+
- uses: codecov/codecov-action@v1
44+
with:
45+
file: lcov.info

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Repository implementing MLJ interface for
33
[Clustering.jl](https://github.com/JuliaStats/Clustering.jl) models.
44

55

6-
[![Build Status](https://travis-ci.com/alan-turing-institute/MLJClusteringInterface.jl.svg?branch=master)](https://travis-ci.com/github/alan-turing-institute/MLJClusteringInterface.jl)
6+
[![Build Status](https://github.com/alan-turing-institute/MLJClusteringInterface.jl/workflows/CI/badge.svg)](https://github.com/alan-turing-institute/MLJClusteringInterface.jl/actions)
77
[![Coverage](http://codecov.io/github/alan-turing-institute/MLJClusteringInterface.jl/coverage.svg?branch=master)](https://codecov.io/gh/alan-turing-institute/MLJClusteringInterface.jl)
88
[![Code Style: Blue](https://img.shields.io/badge/code%20style-blue-4495d1.svg)](https://github.com/invenia/BlueStyle)
99

0 commit comments

Comments
 (0)