Skip to content

Add initial documentation for the AsciiDoc reporter #5977

Add initial documentation for the AsciiDoc reporter

Add initial documentation for the AsciiDoc reporter #5977

name: "Build and test android plugin and projects"
on: [push, pull_request]
jobs:
build:
name: Build and test android
runs-on: macos-latest
env:
ANDROID: true
steps:
- uses: actions/checkout@v4.1.1
- name: Set upt JDK 17
uses: actions/setup-java@v3.13.0
with:
java-version: 17
distribution: 'adopt'
- name: Grant execute permission for bash script
run: chmod +x scripts/local_android_release_with_version.sh
- name: Load the bash script
run: source scripts/local_android_release_with_version.sh
- name: Test Android plugin and Android example project
uses: reactivecircus/android-emulator-runner@v2.28.0
with:
api-level: 29
script: source scripts/source_files/helper_functions.sh && runAndroidTestOnGivenProject jgiven-android-test/build.gradle 1.1-t && runAndroidTestOnGivenProject example-projects/android/build.gradle 1.1-t
- name: Upload test results html files
continue-on-error: true
if: ${{failure()}}
uses: actions/upload-artifact@v3.1.3
with:
name: test-report-example-projects
path: /home/runner/work/JGiven/JGiven/example-projects/*/build/reports/tests
if-no-files-found: ignore