Reusable GitHub Actions workflows for my repositories.
Gradle wrapper, GitHub workflows and Renovate configuration validation.
jobs:
validate:
name: "🦺 Validation"
uses: TWiStErRob/github-workflows/.github/workflows/validate.yml@v3
permissions:
contents: read
security-events: write
actions: read
Run Android instrumentation tests on an emulator and upload artifacts.
jobs:
instrumentation:
name: "🧪 Instrumentation Tests on" # / API ${{ matrix.api }} will be appended by used workflow.
needs: validate
uses: ./.github/workflows/instrumentation.yml
permissions:
contents: read
checks: write
statuses: write
name: "🧪 Instrumentation Test Matrix"
on:
workflow_call
jobs:
instrumentation:
name: "${{ matrix.api }}"
uses: TWiStErRob/github-workflows/.github/workflows/instrumentation.yml@v3
with:
android-api: ${{ matrix.api }}
script: >
./gradlew
--no-daemon
--continue
--stacktrace
:app:connectedCheck
permissions:
contents: read
checks: write
statuses: write
strategy:
fail-fast: false
matrix:
# The API level, see https://apilevels.com/.
api:
- 29
- 33