fix: threaded acc creation and login, error handling offlineUI #165
Workflow file for this run
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: Java CI | |
on: [push] | |
permissions: | |
contents: read | |
checks: write | |
id-token: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Install Xvfb | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y xvfb | |
continue-on-error: true | |
- name: Validate Gradle wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
# build everything (includes running unit tests) | |
- name: Execute Gradle build | |
run: xvfb-run -a ./gradlew build | |
# report the results | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v3 | |
if: success() || failure() # always run even if the previous step fails | |
with: | |
report_paths: '**/build/test-results/test/TEST-*.xml' | |
detailed_summary: true # display detailed summary of the report | |
include_passed: true # include passed tests in the results table |