This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
Update dependency firebase/firebase-ios-sdk to from: "10.17.0" #287
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: Test | |
on: | |
push: | |
branches-ignore: | |
- main | |
paths-ignore: | |
- README.md | |
- LICENSE | |
jobs: | |
tests: | |
runs-on: macos-12 | |
permissions: | |
checks: write | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.1' | |
bundler-cache: true | |
cache-version: '1' | |
- name: Select Xcode | |
run: sudo xcode-select -s /Applications/Xcode_14.2.app/Contents/Developer | |
- name: Setup GoogleService-Info.plist | |
uses: DamianReeves/write-file-action@v1.2 | |
with: | |
path: NowPlaying/Resources/Firebase/GoogleService-Info.plist | |
contents: | | |
${{ secrets.GOOGLE_SERVICE_INFO_PLIST }} | |
write-mode: overwrite | |
- name: Cache Swift Package Manager | |
uses: actions/cache@v3 | |
with: | |
path: .swiftpm | |
key: ${{ runner.os }}-swiftpm-${{ hashFiles('NowPlaying.xcworkspace/xcshareddata/swiftpm/Package.resolved') }} | |
restore-keys: | | |
${{ runner.os }}-swiftpm-${{ hashFiles('NowPlaying.xcworkspace/xcshareddata/swiftpm/Package.resolved') }} | |
${{ runner.os }}-swiftpm- | |
- name: Run Test | |
env: | |
FASTLANE_XCODEBUILD_SETTINGS_RETRIES: 20 | |
run: bundle exec fastlane ios test | |
- name: Publish unit test results | |
uses: kishikawakatsumi/xcresulttool@v1 | |
if: success() || failure() | |
with: | |
path: fastlane/test_output/NowPlaying.xcresult | |
show-passed-tests: false | |
show-code-coverage: false |