Skip to content

smoketest-ui

smoketest-ui #153

Workflow file for this run

# Syntax: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
name: smoketest-ui
on:
schedule:
- cron: '0 13 * * 0' # Run at 13:00 on Sunday.
workflow_dispatch:
env:
DEVELOPER_DIR: /Applications/Xcode_14.3.1.app/Contents/Developer
FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 180
FASTLANE_XCODEBUILD_SETTINGS_RETRIES: 10
jobs:
smoketest-ui:
if: github.event.repository.name == 'nl-covid19-coronacheck-app-ios-private'
runs-on: macos-13
timeout-minutes: 120
steps:
- name: Prestart the simulator # https://circleci.com/docs/2.0/testing-ios/#pre-starting-the-simulator
# 🧐 when changing below, don't forget to also change the device name in the Fastfile too:
run: |
xcrun simctl boot "iPhone 13" || true
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Setup Homebrew
run: |
make homebrew_ci
- name: Build mint dependencies
uses: ./.github/actions/build-mint
- name: Checkout LFS resources
run: |
git lfs pull
git checkout .
- name: Generate project
run: |
make generate_project
- name: Build and test
env:
ACCEPTANCE_BASIC_AUTH_PASSWORD: ${{ secrets.ACCEPTANCE_BASIC_AUTH_PASSWORD }}
run: |
bundle exec fastlane ios smoketest_ui
- name: Archive test artifacts
uses: actions/upload-artifact@v4
if: always()
with:
name: test-output
path: |
fastlane/test_output/
~/Library/Developer/Xcode/DerivedData/CTR*/Logs/Test/*.xcresult