diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d96c7a24..61b4922d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,16 +8,18 @@ on: types: [opened] jobs: - unit: - runs-on: ubuntu-latest + unit: + runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 - with: - java-version: 1.8 - - name: Install - run: gradle dependencies - - name: Test - run: gradle test + steps: + - uses: actions/checkout@v1 + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Install + run: gradle dependencies + - name: Test + run: gradle test && gradle jacocoTestReport + - name: Codecov + run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}