Skip to content

Commit

Permalink
test CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain Boisselle committed May 12, 2020
1 parent 612e746 commit 2441726
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: assemble and check

on:
push:
branches-ignore:
- master
- '[0-9]+.[0-9]+'
- 'snapshot/[0-9]+.[0-9]+'
paths-ignore:
- '**.md'
- '**.adoc'
- '**/.gitignore'
- './github/**'
- '!./github/workflow/test.yml'
pull_request:
branches:
- stable
- master
paths-ignore:
- '**.md'
- '**.adoc'
- '**/.gitignore'
- './github/**'
- '!./github/workflow/test.yml'

jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Check
uses: eskatos/gradle-command-action@v1
with:
arguments: check
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Check
uses: eskatos/gradle-command-action@v1
with:
arguments: hostOnlyTest
macos:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Check
uses: eskatos/gradle-command-action@v1
with:
arguments: hostOnlyTest
- name: Android Instrumentation Test
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: ./gradlew connectedCheck

0 comments on commit 2441726

Please sign in to comment.