From 7ff5dd187e66093e5bf007f08fd6481a0774d71b Mon Sep 17 00:00:00 2001 From: iso53 <102249575+ISO53@users.noreply.github.com> Date: Sat, 31 Jan 2026 14:47:16 +0300 Subject: [PATCH] Update testing.yml --- .github/workflows/testing.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/testing.yml diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml new file mode 100644 index 0000000..82fc3ef --- /dev/null +++ b/.github/workflows/testing.yml @@ -0,0 +1,34 @@ +name: Android CI + +on: + push: + branches: [ testing ] + pull_request: + branches: [ testing ] + +jobs: + build: + name: Build and Test + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v4 + + - name: Make gradlew executable + run: chmod +x gradlew + + - name: Build with Gradle + run: ./gradlew assembleDebug + + - name: Run Unit Tests + run: ./gradlew testDebugUnitTest