Skip to content

Commit

Permalink
Update ci-cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SerbanA01 authored Jan 30, 2025
1 parent 08cadcc commit 0657c3c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
uses: android-actions/setup-android@v3

- name: Grant Gradlew Permissions
run: chmod +x Cod/gradlew
working-directory: Cod
run: chmod +x ./gradlew


- name: Set up Node.js
Expand All @@ -40,14 +41,16 @@ jobs:
sleep 20 # Ensure emulators are fully started
- name: Run Unit Tests (Located in `test/`)
run: Cod/gradlew testDebugUnitTest
working-directory: Cod
run: ./gradlew testDebugUnitTest

- name: Start Android Emulator for UI & Integration Tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 33
arch: x86_64
profile: Nexus 6
working-directory: Cod
script: |
# Ensure Emulator is Ready
adb wait-for-device
Expand Down

0 comments on commit 0657c3c

Please sign in to comment.