Skip to content

Commit 6ab106b

Browse files
committed
test device name
1 parent 3184f3b commit 6ab106b

2 files changed

Lines changed: 27 additions & 12 deletions

File tree

.github/workflows/test-android.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,13 @@ jobs:
1212
with:
1313
distribution: 'temurin'
1414
java-version: '17'
15-
- name: Accept Android SDK licences
16-
run: yes | "${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager" --licenses
17-
- name: Add ADB to Path
18-
run: echo "${ANDROID_HOME}/platform-tools" >> "$GITHUB_PATH"
1915
- name: Enable KVM
2016
run: |
2117
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
2218
sudo udevadm control --reload-rules
2319
sudo udevadm trigger --name-match=kvm
2420
- name: Connected Check
25-
run: |
26-
# start logcat in the background
27-
adb start-server
28-
adb devices # makes sure the daemon is up
29-
adb logcat -v time & # stream to stdout
30-
LOGCAT_PID=$!
31-
./gradlew :supreme-client:pixelAVDSetup :supreme-verifier:jvmTestClasses startVerifier pixelAVDAndroidDeviceTest
32-
kill "$LOGCAT_PID" || true
21+
run: ./gradlew :supreme-client:pixelAVDSetup :supreme-verifier:jvmTestClasses startVerifier pixelAVDAndroidDeviceTest --info
3322
- name: Test Report
3423
uses: dorny/test-reporter@v2
3524
if: success() || failure()

.github/workflows/test-ios.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test iOS
2+
on: [push]
3+
jobs:
4+
test:
5+
runs-on: macos-latest
6+
steps:
7+
- name: Checkout
8+
uses: actions/checkout@v3
9+
with:
10+
submodules: recursive
11+
- uses: actions/setup-java@v3
12+
with:
13+
distribution: 'temurin'
14+
java-version: '17'
15+
- name: iOS Simulator Tests
16+
run: ./gradlew :iosSimulatorArm64Test
17+
- name: Test Report
18+
uses: dorny/test-reporter@v2
19+
if: success() || failure()
20+
with:
21+
name: Warden Supreme iOS Simulator tests
22+
path: 'supreme/client/build/test-results/**/TEST*.xml'
23+
list-suites: failed
24+
list-tests: failed
25+
reporter: java-junit
26+
use-actions-summary: true

0 commit comments

Comments
 (0)