diff --git a/.github/workflows/pull_request_tests.yml b/.github/workflows/pull_request_tests.yml new file mode 100644 index 0000000..58b87e9 --- /dev/null +++ b/.github/workflows/pull_request_tests.yml @@ -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