summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2023-11-13 12:59:22 +0100
committerAlbin <albin@mullvad.net>2023-11-13 12:59:25 +0100
commitf89b28e80c7907b0f893f031ddd57ab38c210245 (patch)
treec4ad8a1ec60ca060079ed11c401d49f3d2ca9ab0 /.github/workflows
parenta4b2c766c8afac9480d153992f2d4c639f378606 (diff)
downloadmullvadvpn-f89b28e80c7907b0f893f031ddd57ab38c210245.tar.xz
mullvadvpn-f89b28e80c7907b0f893f031ddd57ab38c210245.zip
Limit firebase test execution
Only run firebase tests nightly and when explicitly enabled while manually triggering a workflow.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/android-app.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/android-app.yml b/.github/workflows/android-app.yml
index e92447884b..e2f4a30571 100644
--- a/.github/workflows/android-app.yml
+++ b/.github/workflows/android-app.yml
@@ -29,6 +29,10 @@ on:
description: Override container image
type: string
required: false
+ run_firebase_tests:
+ description: Run firebase tests
+ type: boolean
+ required: false
# Build if main is updated to ensure up-to-date caches are available
push:
branches: [main]
@@ -300,7 +304,7 @@ jobs:
instrumented-firebase-tests:
name: Run instrumented firebase tests
- if: github.event_name != 'pull_request'
+ if: github.event_name == 'schedule' || github.event.inputs.run_firebase_tests == true
runs-on: ubuntu-latest
timeout-minutes: 30
needs: [build-app]