Skip to content

Commit

Permalink
create a pull request workflow to run the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
omer358 committed Aug 20, 2024
1 parent 091b045 commit 218b21a
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/pull_request_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#name: Pull Request Tests
#
#on:
# pull_request:
# branches: [ "main" ]
#
#jobs:
# test:
#
# runs-on: ubuntu-latest
#
# steps:
# - uses: actions/checkout@v4
# - name: set up JDK 17
# uses: actions/setup-java@v3
# with:
# java-version: '17'
# distribution: 'zulu'
# cache: gradle
#
# - name: Cache Gradle packages
# uses: actions/cache@v2
# with:
# path: |
# ~/.gradle/caches
# ~/.gradle/wrapper
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
# restore-keys: |
# ${{ runner.os }}-gradle-
#
# - name: Grant execute permission for gradlew
# run: chmod +x gradlew
#
# - name: Run Unit Tests
# run: ./gradlew test
#
# - name: Run Instrumentation Tests
# run: ./gradlew connectedAndroidTest

0 comments on commit 218b21a

Please sign in to comment.