From fd5b7099afd648e5a9dfed32f0fae7c402efc416 Mon Sep 17 00:00:00 2001 From: Michael Kaye <1917473+michaelkaye@users.noreply.github.com> Date: Wed, 25 May 2022 14:10:50 +0100 Subject: [PATCH] Add commented out version of building integration tests for reference. --- .github/workflows/tests.yml | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f1a801dce6..34676b58ed 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -57,7 +57,8 @@ jobs: - name: Format unit test results if: always() run: python3 ./tools/ci/render_test_output.py unit ./**/build/test-results/**/*.xml -# - can't be run on macos :| + +# can't be run on macos due to containers. # - name: Publish Unit Test Results # uses: EnricoMi/publish-unit-test-result-action@v1 # if: always() && @@ -66,3 +67,29 @@ jobs: # with: # files: ./**/build/test-results/**/*.xml +# Unneeded as part of the test suite above, kept around in case we want to re-enable them. +# +# # Build Android Tests +# build-android-tests: +# name: Build Android Tests +# runs-on: ubuntu-latest +# concurrency: +# group: ${{ github.ref == 'refs/heads/main' && format('unit-tests-main-{0}', github.sha) || github.ref == 'refs/heads/develop' && format('unit-tests-develop-{0}', github.sha) || format('build-android-tests-{0}', github.ref) }} +# cancel-in-progress: true +# steps: +# - uses: actions/checkout@v3 +# - uses: actions/setup-java@v3 +# with: +# distribution: 'adopt' +# java-version: 11 +# - uses: actions/cache@v3 +# with: +# path: | +# ~/.gradle/caches +# ~/.gradle/wrapper +# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} +# restore-keys: | +# ${{ runner.os }}-gradle- +# - name: Build Android Tests +# run: ./gradlew clean assembleAndroidTest $CI_GRADLE_ARG_PROPERTIES --stacktrace +