move logic around and add java docs #4151
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GitHub CI | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
test_Android: | |
runs-on: macOS-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Setup JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Sdl Android Tests | |
# For more info, please check out: https://github.com/marketplace/actions/android-emulator-runner | |
uses: reactivecircus/android-emulator-runner@v2 | |
with: | |
api-level: 29 | |
script: ./android/gradlew -p ./android :sdl_android:connectedCheck | |
- name: Hello Sdl Android Tests | |
run: ./android/gradlew -p ./android/hello_sdl_android test | |
- name: Codecov | |
uses: codecov/[email protected] | |
with: | |
yml: ./codecov.yml | |
test_Java: | |
runs-on: macOS-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Setup JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Sdl JavaSE Tests | |
run: ./javaSE/gradlew -p ./javaSE/javaSE test | |
- name: Hello Sdl JavaSE Tests | |
run: ./javaSE/gradlew -p ./javaSE/hello_sdl_java test | |
- name: Sdl JavaEE Tests | |
run: ./javaEE/gradlew -p ./javaEE/javaEE test | |