Skip to content

Bump version

Bump version #37

Workflow file for this run

name: tests
on:
push:
branches:
- master
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: make gradlew executable
run: chmod +x gradlew
- name: run unit tests
run: ./gradlew :app:testReleaseUnitTest
- name: upload unit tests report
uses: actions/upload-artifact@v3
with:
name: unit-tests-report
path: app/build/reports/tests/testReleaseUnitTest/**
retention-days: 2
ui-tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: make gradlew executable
run: chmod +x gradlew
- name: run ui tests
uses: reactivecircus/android-emulator-runner@v2.32.0
with:
api-level: 29
script: ./gradlew :app:connectedDebugAndroidTest
- name: upload ui tests report
uses: actions/upload-artifact@v3
with:
name: ui-tests-report
path: app/build/reports/androidTests/connected/**
retention-days: 2