Skip to content

Commit

Permalink
Github action to keep up to date and build pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesa2 committed Jan 23, 2022
1 parent bb5098d commit 66d348c
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "gradle" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
36 changes: 36 additions & 0 deletions .github/workflows/Android-CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: PullRequest

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
buildTest:
name: Build & Test JDK ${{ matrix.java_version }}
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
java_version: [ 1.8, 11.0.3 ]
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Install JDK ${{ matrix.java_version }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java_version }}
- name: Install Android SDK
uses: malinskiy/action-android/install-sdk@release/0.1.1
- name: Run instrumentation tests
uses: malinskiy/action-android/emulator-run-cmd@release/0.1.1
with:
cmd: ./gradlew assembleDebug install
api: 28
tag: default
abi: x86

0 comments on commit 66d348c

Please sign in to comment.