Skip to content

Test default workflow #5

Test default workflow

Test default workflow #5

name: default-workflow
on: [push]
# TODO:
# on:
# push:
# branches:
# - main
# pull_request:
# branches:
# - main
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1.1" # TODO: keep this somewhere where it's easy to change
- name: Install gems
run: bundle install --jobs 4 --retry 3
- name: Install FVM
run: curl -fsSL https://fvm.app/install.sh | bash
- name: Set up FVM
run: fvm use
- name: Run virtual machine tests
run: bundle exec fastlane run_vm_tests
build_android:
name: Build Android debug
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1.1" # TODO: keep this somewhere where it's easy to change
- name: Install gems
run: bundle install --jobs 4 --retry 3
- name: Install FVM
run: curl -fsSL https://fvm.app/install.sh | bash
- name: Set up FVM
run: fvm use
- name: Build debug
run: bundle exec fastlane android build_debug