Skip to content

Merge pull request #4 from RyuNen344/RyuNen344-patch-1 #6

Merge pull request #4 from RyuNen344/RyuNen344-patch-1

Merge pull request #4 from RyuNen344/RyuNen344-patch-1 #6

Workflow file for this run

name: stability
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflows }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
permissions:
contents: write
checks: write
pull-requests: write
jobs:
dependency-report:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/java
- uses: gradle/actions/dependency-submission@v4
with:
gradle-version: wrapper
dependency-resolution-task: 'resolveAllDependencies'
validate-wrappers: true
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/java
- uses: ./.github/actions/gradle
- name: unit test
shell: bash
run: |
./gradlew testDebugUnitTest
- uses: EnricoMi/publish-unit-test-result-action@v2
if: ${{ !cancelled() }}
with:
check_name: unit-test
files: |
**/test-results/**/*.xml
android-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/java
- uses: ./.github/actions/gradle
- uses: ./.github/actions/avd
with:
prepare-script: ./gradlew assembleDebug
script: ./gradlew connectedDebugAndroidTest
- uses: EnricoMi/publish-unit-test-result-action@v2
if: ${{ !cancelled() }}
with:
check_name: android-test
files: |
**/outputs/androidTest-results/connected/**/*.xml