Issue-1527: use a property on the task extension #6461
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: "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/[email protected] | |
- name: Set upt JDK 17 | |
uses: actions/[email protected] | |
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/[email protected] | |
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/[email protected] | |
with: | |
name: test-report-example-projects | |
path: /home/runner/work/JGiven/JGiven/example-projects/*/build/reports/tests | |
if-no-files-found: ignore |