Release version 0.8.0 #110
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: end-to-end test | |
on: [push] | |
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: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.3 | |
# 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 }} | |
- name: 'Install JDK' | |
if: matrix.platform == 'android' | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '11' | |
distribution: 'zulu' | |
# 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 |