diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..0377071 --- /dev/null +++ b/.github/dependabot.yml @@ -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" \ No newline at end of file diff --git a/.github/workflows/Android-CI.yml b/.github/workflows/Android-CI.yml new file mode 100644 index 0000000..4551d2b --- /dev/null +++ b/.github/workflows/Android-CI.yml @@ -0,0 +1,37 @@ +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: [ 11 ] + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Install JDK ${{ matrix.java_version }} + uses: actions/setup-java@v3 + with: + distribution: 'adopt' + java-version: ${{ matrix.java_version }} + - name: Install Android SDK + uses: malinskiy/action-android/install-sdk@release/0.1.2 + - name: Run instrumentation tests + uses: malinskiy/action-android/emulator-run-cmd@release/0.1.2 + with: + cmd: ./gradlew assembleDebug install + api: 28 + tag: default + abi: x86