Adding logging in getTestMatrix FTL api call #601
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: Test | |
on: [push, pull_request] | |
env: | |
# Allow precise monitoring of the save/restore of Gradle User Home by `gradle-build-action` | |
# See https://github.com/marketplace/actions/gradle-build-action?version=v2.1.1#cache-debugging-and-analysis | |
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: "Setup Gradle" | |
uses: gradle/gradle-build-action@v2 | |
with: | |
# Don't reuse cache entries from any other Job. | |
gradle-home-cache-strict-match: true | |
# Limit the size of the cache entry. | |
# These directories contain instrumented/transformed dependency jars which can be reconstructed relatively quickly. | |
gradle-home-cache-excludes: | | |
caches/jars-9 | |
caches/transforms-3 | |
- name: "Build and Test" | |
working-directory: AndroidXCI | |
shell: bash | |
run: ./gradlew check :ftlModelBuilder:check publish --stacktrace --no-configuration-cache | |
- name: "Upload build repository" | |
continue-on-error: true | |
uses: actions/upload-artifact@v2 | |
with: | |
name: repo | |
path: AndroidXCI/build/repo |