Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexymumo authored Mar 22, 2022
1 parent eb87e8b commit 25d6391
Showing 1 changed file with 20 additions and 22 deletions.
42 changes: 20 additions & 22 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
# This is a basic workflow that is manually triggered

name: Manual workflow
name: Test

# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
name:
# Friendly description to be shown in the UI instead of 'name'
description: 'Person to greet'
# Default value if no value is explicitly provided
default: 'World'
# Input has to be provided for the workflow to run
required: true
push:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
## 2
jobs:
# This workflow contains a single job called "greet"
greet:
# The type of runner that the job will run on
runs-on: ubuntu-latest
## 3
unit_tests:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2

# Steps represent a sequence of tasks that will be executed as part of the job
- name: Unit tests
run: ./gradlew test
## 4
android_tests:
runs-on: [ macos-latest ]
steps:
# Runs a single command using the runners shell
- name: Send greeting
run: echo "Hello ${{ github.event.inputs.name }}"
- uses: actions/checkout@v2

- name: Instrumentation Tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: ./gradlew connectedAndroidTest

0 comments on commit 25d6391

Please sign in to comment.