Skip to content

Commit

Permalink
Create test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
umer0586 authored Oct 23, 2024
1 parent 7b25e8a commit de38983
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Test Android Project

on:
workflow_dispatch:
push:
branches: [ "main" ]
paths-ignore:
- '**/README.md'
- 'fastlane/**'
- /.github/workflows/build.yml
- /.github/workflows/test.yml
pull_request:
branches: [ "main" ]
paths-ignore:
- '**/README.md'
- 'fastlane/**'



jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: set up JDK 19
uses: actions/setup-java@v4
with:
java-version: '19'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Test with Gradle
run: ./gradlew test

0 comments on commit de38983

Please sign in to comment.