name: Java CI
on: [push]
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: JDK 1.8
        uses: actions/setup-java@v1
        with:
          java-version: 1.8
      - name: Test
        run: "mvn cobertura:cobertura --file pom.xml"
      - name: CodeCov
        run: "bash <(curl -s https://codecov.io/bash)"

name: Build
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: JDK 1.8
        uses: actions/setup-java@v1
        with:
          java-version: 1.8
      - name: Test
        run: "mvn cobertura:cobertura --file pom.xml"
      - name: CodeCov
        run: "bash <(curl -s https://codecov.io/bash)"

Rename the Github workflow to Build
Rename the Github workflow to Build
