Skip to content

Add GitHub actions docu #7

Add GitHub actions docu

Add GitHub actions docu #7

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
token: ${{ secrets.CODECOV_TOKEN }}

Check failure on line 27 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / JFleet CI/CD

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 27, Col: 9): Unexpected value '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