Skip to content

Commit fa8db71

Browse files
committed
Run a minimal test in CI
1 parent 6747687 commit fa8db71

File tree

6 files changed

+13357
-4
lines changed

6 files changed

+13357
-4
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ jobs:
6262
with:
6363
python-version: '3.11'
6464

65+
- name: Set up Node.js
66+
uses: actions/setup-node@v4
67+
with:
68+
node-version: '24'
69+
cache: 'npm'
70+
cache-dependency-path: 'test/android/package-lock.json'
71+
6572
- name: Install Frida CLI
6673
run: |
6774
pip install --user frida-tools
@@ -104,6 +111,9 @@ jobs:
104111
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
105112
script: |
106113
adb devices
107-
bash test/android/setup-emulator.sh
108-
echo "Emulator ready to test"
109-
adb shell pgrep -f frida-server
114+
cd test/android && \
115+
./setup-emulator.sh && \
116+
echo "Emulator ready to test" && \
117+
npm install && \
118+
npm test
119+
echo "Tests completed."

test/android/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

0 commit comments

Comments
 (0)