-
Notifications
You must be signed in to change notification settings - Fork 78
42 lines (32 loc) · 1.07 KB
/
tvos_pull_request.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: tvos_build_and_test
on:
pull_request:
workflow_dispatch:
concurrency:
group: "${{ github.run_id }}"
cancel-in-progress: true
jobs:
build:
runs-on: macos-14
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@v3
- name: Select XCode version
run: sudo xcode-select -s /Applications/Xcode_15.0.1.app
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.2
- name: Install Fastlane
run: gem install fastlane
- name: Run tvOS unit tests
run: bundle exec fastlane tvOStests
- name: Run tvOS e2e tests
run: bundle exec fastlane tvos_e2e_tests
timeout-minutes: 45