flank

Massively parallel Android and iOS test runner for Firebase Test Lab

APACHE-2.0 License

Downloads
49
Stars
663
Committers
81

Bot releases are visible (Hide)

flank - Flank Scripts 1.9.6

Published by github-actions[bot] over 3 years ago

flank - Flank Scripts 1.9.5

Published by github-actions[bot] over 3 years ago

flank - Flank Scripts 1.9.3

Published by github-actions[bot] over 3 years ago

flank - Flank Github action

Published by piotradamczyk5 over 3 years ago

flank - Flank Github action

Published by piotradamczyk5 over 3 years ago

Action

This Github action allow running Flank using your Github workflows.

Documentation for Flank is at flank.github.io/flank

Usage

Inputs

Input name Description Required Default
version Flank version to run. Minimal supported version is v21.03.1. Leaving it blank will fallback to latest version. false latest available
service_account Service account to authenticate with. Could be path to file, link to file or file content itself. More information about creating a service account could be found at documentation true
platform Platform to run. Could be ios or android true
flank_configuration_file Flank configuration file. More info how it should look like is in documentation true

Outputs

Output name Description
gcloud_results_directory Link to Gcloud store where results are stored.
local_results_directory Path to local results directory. All output files from this run are stored inside. You could use it as output artifacts.

Adding to workflows

- name: <your name>
  id: <id of action>
  uses: Flank/flank@master
  with:
    version: <Flank version to run, minimum supported is v21.03.1, default latest>
    service_account: <file content, file link or path to file with service account> 
    platform: [android|ios]
    flank_configuration_file: <Path to configuration file>

Example workflows

Service account file content from secrets

- name: flank run
  id: flank_run
  uses: Flank/flank@master
  with:
    # Flank version to run
    version: v21.03.1
    # Service account file content from secrets
    service_account: ${{ secrets.SERVICE_ACCOUNT }} 
    # Run Android tests
    platform: android
    # Path to configuration file from local repo
    flank_configuration_file: './testing/android/flank-simple-success.yml'

- name: output
  run: |
    # Use local directory output
    echo "Local directory: ${{ steps.flank_run.outputs.local_results_directory }}"
    # Use Gcloud storage output 
    echo "Gcloud: ${{ steps.flank_run.outputs.gcloud_results_directory }}"

Service account file from repository

- name: flank run
  id: flank_run
  uses: Flank/flank@master
  with:
    # Service account file from repository
    service_account: './service_account.json'
    # Run Android tests
    platform: android
    # Path to configuration file from local repo
    flank_configuration_file: './testing/android/flank-simple-success.yml'

- name: output
  run: |
    # Use local directory output
    echo "Local directory: ${{ steps.flank_run.outputs.local_results_directory }}"
    # Use Gcloud storage output 
    echo "Gcloud: ${{ steps.flank_run.outputs.gcloud_results_directory }}"

Create service account during workflow


- name: Create service account
  run: echo '${{ secrets.SERVICE_ACCOUNT }}' > service_account_created.json

- name: flank run
  id: flank_run
  uses: Flank/flank@master
  with:
    # Service account created in previous step
    service_account: './service_account_created.json'
    # Run Android tests
    platform: android
    # Path to configuration file from local repo
    flank_configuration_file: './testing/android/flank-simple-success.yml'

- name: output
  run: |
    # Use local directory output
    echo "Local directory: ${{ steps.flank_run.outputs.local_results_directory }}"
    # Use Gcloud storage output 
    echo "Gcloud: ${{ steps.flank_run.outputs.gcloud_results_directory }}"

Runner OS support

All 3 runner operating systems are supported.

flank - Flank Scripts 1.9.2

Published by github-actions[bot] over 3 years ago

flank - Flank v21.03.1

Published by github-actions[bot] over 3 years ago

v21.03.1

Bug Fixes

Features

CI Changes

Documentation

Tests update

Refactor

flank - Flank Scripts 1.9.1

Published by github-actions[bot] over 3 years ago

flank - Flank Scripts 1.9.0

Published by github-actions[bot] over 3 years ago

flank - Flank Scripts 1.8.0

Published by github-actions[bot] over 3 years ago

flank - Flank Scripts 1.7.3

Published by github-actions[bot] over 3 years ago

flank - Flank v21.03.0

Published by github-actions[bot] over 3 years ago

v21.03.0

Bug Fixes

CI Changes

Documentation

Features

Refactor

flank - Flank Scripts 1.7.2

Published by github-actions[bot] over 3 years ago

flank - Flank Scripts 1.7.1

Published by github-actions[bot] over 3 years ago

flank - Flank Scripts 1.7.0

Published by github-actions[bot] over 3 years ago

flank - Flank Scripts 1.6.7

Published by github-actions[bot] over 3 years ago

flank - Flank Scripts 1.6.6

Published by piotradamczyk5 over 3 years ago

flank - Flank Scripts 1.6.4

Published by piotradamczyk5 over 3 years ago

flank - 'Flank Scripts 1.6.3'

Published by piotradamczyk5 over 3 years ago

flank - Flank flank_snapshot

Published by github-actions[bot] over 3 years ago

Snapshot release for commit 68166dba

Package Rankings
Top 4.06% on Proxy.golang.org
Top 5.35% on Github actions
Top 25.95% on Repo1.maven.org
Top 38.14% on Formulae.brew.sh
Related Projects