Fix: Remove prefix from test suite names #103
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: iOS Test Suite | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
name: Run tests with fastlane | |
runs-on: macos-15 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install tools | |
run: | | |
brew bundle install | |
bundler install | |
- name: Set up xcconfig secrets (see README.md#quick-start) | |
env: | |
BIKE_INDEX_DEVELOPMENT_XCCONFIG: ${{ secrets.BIKE_INDEX_DEVELOPMENT_XCCONFIG }} | |
run: | | |
echo "$BIKE_INDEX_DEVELOPMENT_XCCONFIG" >> BikeIndex-development.xcconfig | |
- name: Set up xcconfig UI test credentials (see README.md#UI-Test-configuration) | |
env: | |
BIKE_INDEX_TEST_CREDENTIALS: ${{ secrets.BIKE_INDEX_TEST_CREDENTIALS }} | |
run: | | |
echo "$BIKE_INDEX_TEST_CREDENTIALS" >> SharedTests/Test-credentials.xcconfig | |
- name: List available simulators | |
run: xcodebuild -scheme Debug\ \(development\) -project BikeIndex.xcodeproj -showdestinations | |
- name: Run tests | |
id: fastlane-ios-tests | |
run: bundle exec fastlane ios tests | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: test_output | |
path: "fastlane/test_output/*" | |
compression-level: 9 # maximum compression |