Skip to content

Add StudioOptionPane mocking #235

Add StudioOptionPane mocking

Add StudioOptionPane mocking #235

Workflow file for this run

# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
push:
branches: [ '*' ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
timeout-minutes: 2
- name: Integration tests
run: ./intTests-Xvfb.sh
timeout-minutes: 5
- name: Log files
run: find .
if: always()
- name: Upload Failed test screenshots
uses: actions/[email protected]
if: ${{ failure() }}
with:
name: Failed tests
path: ./failed-gui-tests/
- name: Report
uses: dorny/test-reporter@v1
if: always()
with:
name: JUnit Tests
path: build/test-results/*/*.xml
reporter: java-junit
fail-on-error: true
- name: Upload repots in case of failure
uses: actions/[email protected]
if: ${{ failure() }}
with:
name: Failed Reports
path: ./build/reports/tests/