Skip to content

Add CI badge

Add CI badge #7

Workflow file for this run

name: Build & Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
checks: write
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'adopt'
# - name: Build
# FIXME build stuck at some point on CI, need investigation
# run: ./gradlew --no-daemon :tasks-app-android:assembleDebug :tasks-app-desktop:assemble
# - name: Test
# run: ./gradlew --no-daemon test
- name: Publish Test Reports
uses: mikepenz/action-junit-report@v4
if: success() || failure()
with:
report_paths: '**/build/test-results/test/TEST-*.xml'