From b9c82e64c7a7d3a03988438b2db900119a52dc4d Mon Sep 17 00:00:00 2001 From: Mattia Iavarone Date: Fri, 6 Dec 2019 15:00:58 +0100 Subject: [PATCH] Actions tests --- .github/workflows/build.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9524a50d..29cb4e2e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,9 +1,13 @@ # https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions name: Android Build -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: env: - - ANDROID_UNIT_TESTS_PATH: ./cameraview/build/jacoco/ - - ANDROID_EMULATOR_TESTS_PATH: ./cameraview/build/outputs/code_coverage/debugAndroidTest/connected + ANDROID_UNIT_TESTS_PATH: ./cameraview/build/jacoco/ + ANDROID_EMULATOR_TESTS_PATH: ./cameraview/build/outputs/code_coverage/debugAndroidTest/connected jobs: ANDROID_BASE_CHECKS: runs-on: ubuntu-latest