Skip to content

🎉

🎉 #1

Workflow file for this run

name: Coveralls
on:
push:
branches:
- main
pull_request:
branches:
- master
- 'dev/**'
- 'fix/**'
- 'feat/**'
- 'feature/**'
jobs:
code-coverage:
if: github.repository_owner == 'today-tech'
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/[email protected]
- name: Set up JDK 17
uses: actions/[email protected]
with:
java-version: 17
distribution: adopt
- name: Setup Gradle
uses: gradle/[email protected]
- name: Test Coverage
run: ./gradlew -DCI=true --no-daemon --max-workers=4 build --scan --stacktrace
- name: Report Coverage to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: 'build/reports/jacoco/test/jacocoTestReport.xml'
format: jacoco