Skip to content

Use Commons Statistics #13

Use Commons Statistics

Use Commons Statistics #13

Workflow file for this run

name: Java CI
on:
push:
branches:
- master
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8 ]
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Purge maven snapshots
run: mvn -B --no-transfer-progress dependency:purge-local-repository -DmanualInclude="uk.ac.sussex.gdsc:gdsc-ij-parent,uk.ac.sussex.gdsc:gdsc-core,uk.ac.sussex.gdsc:gdsc-core-ij"
- name: Build
run: mvn -V -B --no-transfer-progress -P jacoco checkstyle:check verify jacoco:report
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: ./gdsc/target/site/jacoco/jacoco.xml