Skip to content

Commit 236715b

Browse files
committed
Moves tests to main build job
1 parent 19dbb39 commit 236715b

File tree

1 file changed

+51
-51
lines changed

1 file changed

+51
-51
lines changed

.github/workflows/blueprints.yaml

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -43,58 +43,58 @@ jobs:
4343
name: build-reports
4444
path: app/build/reports/
4545

46-
test:
47-
needs: build
48-
runs-on: macOS-latest # enables hardware acceleration in the virtual machine
49-
timeout-minutes: 30
50-
strategy:
51-
matrix:
52-
api-level: [23, 29]
53-
54-
steps:
55-
- name: Checkout
56-
uses: actions/checkout@v2
57-
58-
- name: Copy CI gradle.properties
59-
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
60-
61-
- name: Set up JDK 11
62-
uses: actions/setup-java@v1
63-
with:
64-
java-version: 11
65-
66-
- name: Run instrumentation tests
67-
uses: reactivecircus/android-emulator-runner@v2
68-
with:
69-
api-level: ${{ matrix.api-level }}
70-
arch: x86
71-
disable-animations: true
72-
script: ./gradlew app:cMDAT --stacktrace
73-
74-
- name: Upload test reports
75-
if: always()
76-
uses: actions/upload-artifact@v2
77-
with:
78-
name: test-reports
79-
path: app/build/reports/
80-
81-
82-
gradleManagedVirtualDevicesTest:
83-
needs: build
84-
runs-on: macos-latest
85-
timeout-minutes: 30
86-
87-
steps:
88-
- name: Checkout
89-
uses: actions/checkout@v2
90-
91-
- name: Copy CI gradle.properties
92-
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
46+
# test:
47+
# needs: build
48+
# runs-on: macOS-latest # enables hardware acceleration in the virtual machine
49+
# timeout-minutes: 30
50+
# strategy:
51+
# matrix:
52+
# api-level: [23, 29]
53+
#
54+
# steps:
55+
# - name: Checkout
56+
# uses: actions/checkout@v2
57+
#
58+
# - name: Copy CI gradle.properties
59+
# run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
60+
#
61+
# - name: Set up JDK 11
62+
# uses: actions/setup-java@v1
63+
# with:
64+
# java-version: 11
65+
#
66+
# - name: Run instrumentation tests
67+
# uses: reactivecircus/android-emulator-runner@v2
68+
# with:
69+
# api-level: ${{ matrix.api-level }}
70+
# arch: x86
71+
# disable-animations: true
72+
# script: ./gradlew app:cMDAT --stacktrace
73+
#
74+
# - name: Upload test reports
75+
# if: always()
76+
# uses: actions/upload-artifact@v2
77+
# with:
78+
# name: test-reports
79+
# path: app/build/reports/
9380

94-
- name: Set up JDK 11
95-
uses: actions/setup-java@v1
96-
with:
97-
java-version: 11
81+
#
82+
# gradleManagedVirtualDevicesTest:
83+
# needs: build
84+
# runs-on: macos-latest
85+
# timeout-minutes: 30
86+
#
87+
# steps:
88+
# - name: Checkout
89+
# uses: actions/checkout@v2
90+
#
91+
# - name: Copy CI gradle.properties
92+
# run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
93+
#
94+
# - name: Set up JDK 11
95+
# uses: actions/setup-java@v1
96+
# with:
97+
# java-version: 11
9898

9999
# Needed to accept licenses
100100
- name: Setup Android SDK

0 commit comments

Comments
 (0)