Skip to content

Merge branch 'keep_blacklisted' into server_build #36

Merge branch 'keep_blacklisted' into server_build

Merge branch 'keep_blacklisted' into server_build #36

Workflow file for this run

name: Java CI with Maven
on:
push:
branches-ignore:
- original_code
pull_request:
branches-ignore:
- original_code
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 17 , 21]
steps:
- uses: actions/checkout@v4
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'adopt'
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Run code coverage
run: mvn jacoco:report
- uses: codecov/codecov-action@v3