Skip to content

Build PRs

Build PRs #112

Workflow file for this run

name: end-to-end test
on:
push:
pull_request:
branches:
- master
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [macOS-latest, ubuntu-latest, windows-latest]
platform: [ios, android]
exclude:
# Can't build for iOS on Ubuntu and Windows.
- os: ubuntu-latest
platform: ios
- os: windows-latest
platform: ios
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-ruby@v1
with:
ruby-version: 2.5
# Have to split multiple commands into steps due to a bug on Windows:
# https://github.community/t5/GitHub-Actions/Windows-multi-line-step-run/td-p/30428
- run: gem install --no-doc bundler
- run: bundle install
- run: bundle exec rake
- name: 'Run-run rake with coverage upload'
if: runner.os == 'Linux' && matrix.platform == 'android'
run: bundle exec rake
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
# For Windows: error: unable to create file <...>: Filename too long
- run: git config --global core.longpaths true
- run: bundle exec fastlane ${{ matrix.platform }} end_to_end_test