File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : Coveralls
1+ name : Coverage
22
3- on :
4- push :
5- branches :
6- - $default_branch
7- - sprint*-staging
8-
9- pull_request :
10-
11- workflow_dispatch :
3+ on : [ push, pull_request, workflow_dispatch ]
124
135jobs :
146 java :
179 steps :
1810 - uses : actions/checkout@v2
1911
20- - name : " Cache Maven Dependencies "
12+ - name : " Maven Cache "
2113 uses : actions/cache@v2
2214 env :
23- cache-name : lssss- cache-maven-dependencies
15+ cache-name : cache-maven-dependencies
2416 with :
2517 path : ~/.m2/repository
26- key : ${{ runner.os }}-lssss-cache-maven-${{ hashFiles('**/pom.xml') }}
27- restore-keys : ${{ runner.os }}-lssss-cache-maven-${{ hashFiles('**/pom.xml') }}
18+ key : ${{ runner.os }}-cache-maven-${{ hashFiles('**/pom.xml') }}
2819
2920 - name : " Setup Java"
3021 uses : actions/setup-java@v1
3122 with :
3223 java-version : 1.8
3324
34- - name : " Running Tests"
25+ - name : " Maven Build"
26+ run : mvn test-compile -DskipTests=true -Dmaven.javadoc.skip=true -B -V
27+
28+ - name : " Maven Test"
3529 run : mvn clean test cobertura:cobertura jacoco:report coveralls:report -DdryRun=true
3630
37- - name : " To Coveralls (build lssss- ${{ github.run_number }}-java)"
31+ - name : " Send to Coveralls (build ${{ github.run_number }}-java)"
3832 uses : MikeEdgar/github-action@raw_coverage_file
3933 with :
4034 github-token : ${{ secrets.github_token }}
41- flag-name : lssss- ${{ github.run_number }}-java
35+ flag-name : ${{ github.run_number }}-java
4236 parallel : false
4337 path-to-file : ' ./target/coveralls.json'
4438 coverage-format : raw
Original file line number Diff line number Diff line change 1- [ ![ Build Status] ( https://github.com/TAMULib/LibraryServiceStatusSystemService/workflows/Build/badge.svg )] ( https://github.com/TAMULib/LibraryServiceStatusSystemService/actions?query=workflow%3ABuild )
2- [ ![ Coverage Status] ( https://github.com/TAMULib/LibraryServiceStatusSystemService/workflows/Coveralls/badge.svg )] ( https://coveralls.io/github/TAMULib/LibraryServiceStatusSystemService?branch=master )
1+ [ ![ Coverage Status] ( https://coveralls.io/repos/github/TAMULib/LibraryServiceStatusSystemService/badge.svg?branch=master )] ( https://coveralls.io/github/TAMULib/LibraryServiceStatusSystemService?branch=master )
32
43# Library Service Status System
54
You can’t perform that action at this time.
0 commit comments