Skip to content

Commit

Permalink
Merge 1de8234 into 40c50b4
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathew1011 committed Feb 3, 2021
2 parents 40c50b4 + 1de8234 commit d300e02
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 11 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build

on: [ push, pull_request, workflow_dispatch ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: "Maven Cache"
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}

- name: "Setup Java"
uses: actions/setup-java@v1
with:
java-version: 1.8

- name: "Maven Tests"
run: mvn clean test cobertura:cobertura jacoco:report coveralls:report -DdryRun=true

- name: "Coverage Report"
uses: MikeEdgar/github-action@raw_coverage_file
with:
github-token: ${{ secrets.github_token }}
path-to-file: 'target/coveralls.json'
coverage-format: raw
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/TAMULib/Weaver-Webservice-Core.svg?branch=2.x)](https://travis-ci.org/TAMULib/Weaver-Webservice-Core)
[![Build Status](https://github.com/TAMULib/Weaver-Webservice-Core/workflows/Build/badge.svg?branch=2.x)](https://github.com/TAMULib/Weaver-Webservice-Core)
[![Coverage Status](https://coveralls.io/repos/github/TAMULib/Weaver-Webservice-Core/badge.svg?branch=2.x)](https://coveralls.io/github/TAMULib/Weaver-Webservice-Core?branch=2.x)

Webservice-Core
Expand Down

0 comments on commit d300e02

Please sign in to comment.