Skip to content

Commit

Permalink
Merge 17ec1df into dfc4cd4
Browse files Browse the repository at this point in the history
  • Loading branch information
wwelling committed Jan 26, 2021
2 parents dfc4cd4 + 17ec1df commit 157358a
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 33 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:
java:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

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

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

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

- name: "Send to Coveralls (build java-${{ github.run_number }})"
uses: MikeEdgar/github-action@raw_coverage_file
with:
github-token: ${{ secrets.github_token }}
path-to-file: './target/coveralls.json'
coverage-format: raw
38 changes: 38 additions & 0 deletions .github/workflows/ghpages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: GHPages

on:
push:
branches:
- $default_branch

workflow_dispatch:

jobs:
ghpages:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

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

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

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

- name: "Deploy GH-Pages"
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
github_token: ${{ secrets.github_token }}
branch: gh-pages
folder: target/generated-docs
clean: true
single_commit: true
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[![Build Status](https://travis-ci.org/TAMULib/ProjectManagementService.svg?branch=master)](https://travis-ci.org/TAMULib/ProjectManagementService) [![Coverage Status](https://coveralls.io/repos/github/TAMULib/ProjectManagementService/badge.svg?branch=master)](https://coveralls.io/github/TAMULib/ProjectManagementService?branch=master)
[![Build Status](https://github.com/TAMULib/ProjectManagementService/workflows/Build/badge.svg)](https://github.com/TAMULib/ProjectManagementService/actions?query=workflow%3ABuild)
[![Coverage Status](https://coveralls.io/repos/github/TAMULib/ProjectManagementService/badge.svg)](https://coveralls.io/github/TAMULib/ProjectManagementService)
[![GHPages Status](https://github.com/TAMULib/ProjectManagementService/workflows/GHPages/badge.svg)](https://github.com/TAMULib/ProjectManagementService/actions?query=workflow%3AGHPages)

# Product Management Service
The Product Management Service is designed to connect our Library Webservice Status Application to our Version Management Software.
Expand Down
22 changes: 11 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,6 @@

<packaging>war</packaging>

<repositories>
<repository>
<id>tamu-releases</id>
<url>https://artifacts.library.tamu.edu/repository/maven-releases/</url>
</repository>
<repository>
<id>tamu-snapshots</id>
<url>https://artifacts.library.tamu.edu/repository/maven-snapshots/</url>
</repository>
</repositories>

<dependencies>

<dependency>
Expand Down Expand Up @@ -278,4 +267,15 @@
</plugins>
</reporting>

<repositories>
<repository>
<id>tamu-releases</id>
<url>https://artifacts.library.tamu.edu/repository/maven-releases</url>
</repository>
<repository>
<id>tamu-snapshots</id>
<url>https://artifacts.library.tamu.edu/repository/maven-snapshots</url>
</repository>
</repositories>

</project>

0 comments on commit 157358a

Please sign in to comment.