Skip to content

Commit

Permalink
switch CI to github action (#119)
Browse files Browse the repository at this point in the history
reduce CI waiting time by switching to Github action
  • Loading branch information
johnnychen94 authored Feb 11, 2020
1 parent 2881b7f commit b4e7b08
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 46 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/UnitTest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Unit test

on:
create:
tags:
push:
branches:
- master
pull_request:
schedule:
- cron: '20 00 1 * *'

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ['1.0', '1', 'nightly']
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- uses: actions/[email protected]
- name: "Set up Julia"
uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}

- name: "Unit Test"
uses: julia-actions/julia-runtest@master

# Unless tokenless upload is enabled, we can only submit coverage via
# environment variable. But PRs from other fork can't do that.
# See issue: https://github.com/julia-actions/julia-uploadcodecov/issues/1
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# Until https://github.com/julia-actions/julia-uploadcodecov/issues/1 get fixed
# submit coverage report via travis
language: julia
os:
- osx
- linux
julia:
- 1.0
- 1
- nightly
notifications:
email: false

Expand Down
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# ImageCore

[![][travis-img]][travis-url]
[![][action-img]][action-url]
[![][pkgeval-img]][pkgeval-url]
[![][codecov-img]][codecov-url]
[![][docs-stable-img]][docs-stable-url]
[![][docs-dev-img]][docs-dev-url]

Expand All @@ -14,10 +13,8 @@ designed to support image processing and computer vision.

[pkgeval-img]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/I/ImageCore.svg
[pkgeval-url]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/report.html
[travis-img]: https://travis-ci.org/JuliaImages/ImageCore.jl.svg?branch=master
[travis-url]: https://travis-ci.org/JuliaImages/ImageCore.jl
[codecov-img]: https://codecov.io/github/JuliaImages/ImageCore.jl/coverage.svg?branch=master
[codecov-url]: https://codecov.io/github/JuliaImages/ImageCore.jl?branch=master
[action-img]: https://github.com/JuliaImages/ImageCore.jl/workflows/Unit%20test/badge.svg
[action-url]: https://github.com/JuliaImages/ImageCore.jl/actions
[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
[docs-stable-url]: https://JuliaImages.github.io/ImageCore.jl/stable
[docs-dev-img]: https://img.shields.io/badge/docs-dev-blue.svg
Expand Down
37 changes: 0 additions & 37 deletions appveyor.yml

This file was deleted.

0 comments on commit b4e7b08

Please sign in to comment.