Add commented out version of building integration tests for reference.

This commit is contained in:
Michael Kaye 2022-05-25 14:10:50 +01:00
parent 40e4c4ce1e
commit fd5b7099af
1 changed files with 28 additions and 1 deletions

View File

@ -57,7 +57,8 @@ jobs:
- name: Format unit test results - name: Format unit test results
if: always() if: always()
run: python3 ./tools/ci/render_test_output.py unit ./**/build/test-results/**/*.xml 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 # - name: Publish Unit Test Results
# uses: EnricoMi/publish-unit-test-result-action@v1 # uses: EnricoMi/publish-unit-test-result-action@v1
# if: always() && # if: always() &&
@ -66,3 +67,29 @@ jobs:
# with: # with:
# files: ./**/build/test-results/**/*.xml # 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