Candidate v5.6.1 (#530) #381
This file contains 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: Build, Test and Upload report | |
on: | |
push: | |
branches: | |
- master | |
- candidate | |
pull_request: | |
jobs: | |
build: | |
runs-on: macos-latest | |
env: | |
RAS_PROJECT_IDENTIFIER_PROD: test-prod | |
RAS_PROJECT_IDENTIFIER_STG: test-stg | |
RAS_PROJECT_SUBSCRIPTION_KEY_PROD: test-sub-prod | |
RAS_PROJECT_SUBSCRIPTION_KEY_STG: test-sub-stg | |
RAT_ACCOUNT_IDENTIFIER: test-rat | |
RAT_ENDPOINT: https://developers.rakuten.com/ | |
RMA_API_ENDPOINT_PROD: https://developers.rakuten.com/ | |
RMA_API_ENDPOINT_STG: https://developers.rakuten.com/ | |
RMA_APP_CENTER_SECRET: test-appcenter | |
RMA_DEMO_APP_BUILD_TYPE: -DEMO | |
RMA_GAD_APPLICATION_IDENTIFIER: ca-app-pub-0000000000000000~0000000000 | |
steps: | |
- name: Repository checkout | |
uses: actions/checkout@v2 | |
- name: Setup ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7.2 | |
bundler-cache: true | |
- name: Run tests | |
run: | | |
bundle exec fastlane ci | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v2 |