added missing items to feature #169
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@cc4fc85e6b35bafd578d5ffbc76a5518407e1af0 # v4.2.1 | |
- name: Build and test with Gradle | |
env: | |
# CI marker | |
CI: 'true' | |
run: ./gradlew clean check | |
# https://github.com/marketplace/actions/junit-report-action | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@a427a90771729d8f85b6ab0cdaa1a5929cab985d # v5.0.0 | |
if: always() # always run even if the previous step fails | |
with: | |
report_paths: 'build/test-results/**/*.xml' | |
require_tests: true | |
annotate_only: true | |
detailed_summary: true | |
# fail_on_failure: true |