Skip to content

Commit

Permalink
Github actions (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
elizoller authored May 5, 2021
1 parent 01344bd commit 2c02f07
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 14 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
push:
braches: [dev, main ]
pull_request:
branches: [dev, main ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
path: build_dir
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '8'
check-latest: true
- name: Gradle Check
run: |
cd $GITHUB_WORKSPACE/build_dir
./gradlew check
- name: Jacoco Test
run: |
cd $GITHUB_WORKSPACE/build_dir
./gradlew jacocoTestReport
- name: Codecov
uses: codecov/codecov-action@v1

12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# ![Syn](https://cloud.githubusercontent.com/assets/2371345/23724175/2998ecb0-0422-11e7-9009-aee3f129633f.png) Syn
[![Build Status](https://travis-ci.com/Islandora/Syn.svg?branch=main)](https://travis-ci.com/Islandora/Syn)
[![Build Status](https://github.com/islandora/Syn/actions/workflows/build-dev.yml/badge.svg)](https://github.com/Islandora/Syn/actions)
[![Contribution Guidelines](http://img.shields.io/badge/CONTRIBUTING-Guidelines-blue.svg)](./CONTRIBUTING.md)
[![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](./LICENSE)
[![codecov](https://codecov.io/gh/Islandora/Syn/branch/main/graph/badge.svg)](https://codecov.io/gh/Islandora/Syn)
[![codecov](https://codecov.io/gh/Islandora/Syn/branch/main/graphs/badge.svg)](https://codecov.io/gh/Islandora/Syn)

## Introduction

Expand Down

0 comments on commit 2c02f07

Please sign in to comment.