Test GH actions workflow for Codecov coverage
This commit is contained in:
parent
5f30d93b32
commit
b228aea7f7
|
@ -13,7 +13,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
name: Coveralls
|
name: Coverage
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
@ -39,9 +39,9 @@ jobs:
|
||||||
distribution: adopt
|
distribution: adopt
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn -V test --file pom.xml --no-transfer-progress
|
run: mvn -V test jacoco:report --file pom.xml --no-transfer-progress
|
||||||
|
|
||||||
- name: Coveralls
|
- name: Upload coverage to Codecov
|
||||||
uses: coverallsapp/github-action@1.1.3
|
uses: codecov/codecov-action@v2
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
files: ./target/site/jacoco/jacoco.xml
|
Loading…
Reference in New Issue