Skip to content

Main

Main #4

Workflow file for this run

name: Main
on:
push:
branches:
- main
permissions:
actions: write
contents: read
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
# - name: Setup Java
# uses: actions/setup-java@v3
# with:
# java-version: '17'
# distribution: 'temurin'
# - name: Grant execute permission for gradlew
# run: chmod +x gradlew
# - name: Test and collect coverage
# run: |
# ./gradlew build
# ./gradlew test
- uses: qltyai/qlty-action/coverage@main
with:
coverage-token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
file: build/reports/jacoco/test/jacocoTestReport.xml