KM-13513 Sort out app dependencies #206
Workflow file for this run
This file contains hidden or 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: tvos_build_and_test | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: "${{ github.workflow }}-${{ github.ref }}" | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: macos-26 | |
| env: | |
| TEST_RUNNER_PIA_TEST_USER: ${{ secrets.PIA_ACCOUNT_USERNAME}} | |
| TEST_RUNNER_PIA_TEST_PASSWORD: ${{ secrets.PIA_ACCOUNT_PASSWORD }} | |
| TEST_RUNNER_PIA_TEST_DEDICATEDIP: ${{ secrets.PIA_TEST_DEDICATEDIP }} | |
| steps: | |
| - name: Setup Git credentials | |
| run: | | |
| git config --global url."https://${{ secrets.ORG_GITHUB_USERNAME }}:${{ secrets.ORG_GITHUB_TOKEN }}@github.com/".insteadOf "git@github.com:" | |
| - uses: actions/checkout@v4 | |
| - name: Select Xcode version | |
| uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: latest-stable | |
| - name: Download tvOS Platform | |
| run: xcodebuild -downloadPlatform tvOS | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.3.5 | |
| - name: Install Fastlane | |
| run: gem install fastlane | |
| - name: Run tvOS unit tests | |
| run: bundle exec fastlane tvOStests | |
| - name: Upload tvOS test results | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: tvos-test-results | |
| path: | | |
| fastlane/test_output/ | |
| **/*.xcresult | |
| build/reports/ | |
| retention-days: 30 | |
| if-no-files-found: warn | |
| # - name: Run tvOS snapshot tests | |
| # run: bundle exec fastlane tvos_snapshot_tests | |
| # - name: Run tvOS e2e tests | |
| # run: bundle exec fastlane tvos_e2e_tests | |
| # timeout-minutes: 45 | |