Skip to content

Add GitHub actions docu #2

Add GitHub actions docu

Add GitHub actions docu #2

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: codecov
run: bash <(curl -s https://codecov.io/bash)
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
# Jacoco and codecov
- name: Jacoco
run: ./gradlew jacocoTestReport
- name: codecov
run: bash <(curl -s https://codecov.io/bash)