Feat: adding fastlane for qa #59
Workflow file for this run
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 and test | |
on: | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
android_build_and_test: | |
name: Android - build and test | |
runs-on: ubuntu-22.04 | |
env: | |
isCI: "true" | |
BASE_SCHEME: ${{ secrets.BASE_URL_DEBUG }} | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
# - name: Set up JDK 17 | |
# uses: actions/setup-java@v3 | |
# with: | |
# distribution: adopt | |
# java-version: "17" | |
# | |
# - name: Create local.properties | |
# run: echo "BASE_URL=${BASE_SCHEME}" >> local.properties | |
# | |
# - name: Build android | |
# run: ./gradlew assembleDebug --stacktrace | |
- name: Install Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2.3 | |
- name: Add current platform to Bundler lockfile | |
run: | | |
bundle lock --add-platform ruby | |
bundle lock --add-platform x86_64-linux | |
- name: Install Gems | |
run: bundle install | |
- name: Run fastlane | |
run: bundle exec fastlane generate_changelog |