Skip to content

Reusable GitHub Actions workflows for my repositories.

License

Notifications You must be signed in to change notification settings

TWiStErRob/github-workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-workflows

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

Related docs

About

Reusable GitHub Actions workflows for my repositories.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published