Skip to content

Merge pull request #105 from jerolba/fix_codecov #11

Merge pull request #105 from jerolba/fix_codecov

Merge pull request #105 from jerolba/fix_codecov #11

Workflow file for this run

name: JFleet CI/CD
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
env:
# Customize the JVM maximum heap limit
JVM_OPTS: -Xmx3200m
TERM: dumb
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Build with Gradle
run: ./gradlew test --console=plain -i
# Jacoco and codecov
- name: Jacoco
run: ./gradlew jacocoTestReport
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
build-latest:
runs-on: ubuntu-latest
env:
# Customize the JVM maximum heap limit
JVM_OPTS: -Xmx3200m
TERM: dumb
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Build with Gradle
run: ./gradlew test -Pmysql8 --console=plain -i