Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup GitHub Actions for tests #360

Merged
merged 2 commits into from
Jan 19, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Ensure that the sample app still builds
  • Loading branch information
MGaetan89 committed Jan 19, 2021
commit 68b189b7040f4491cec51a9df27d71e4c730f126
26 changes: 26 additions & 0 deletions .github/workflows/validate_tableview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,32 @@ jobs:
- name: Build
run: ./gradlew :tableview:assembleDebug --no-daemon

validate-sample:
name: Validate sample app
needs: build
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8

- name: Setup Cache
uses: actions/cache@v2
with:
path: |
~/.gradle/caches/
~/.gradle/wrapper/
key: cache-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: cache-gradle-

- name: Build
run: ./gradlew :app:assembleDebug --no-daemon

android-tests:
name: Android Tests
needs: build
Expand Down