Skip to content

Commit

Permalink
Merge pull request #57 from omer358/dev
Browse files Browse the repository at this point in the history
resolves #56
  • Loading branch information
omer358 authored Aug 23, 2024
2 parents a55553e + 4d639bd commit e6df77a
Showing 1 changed file with 38 additions and 38 deletions.
76 changes: 38 additions & 38 deletions .github/workflows/pull_request_tests.yml
Original file line number Diff line number Diff line change
@@ -1,38 +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
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 e6df77a

Please sign in to comment.