-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PIA-1443: Split PR CI workflows by platform
- Loading branch information
1 parent
b9ea648
commit 5cdcd91
Showing
2 changed files
with
40 additions
and
8 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: ios_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 "[email protected]:" | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 3.0.2 | ||
|
||
- name: Install Fastlane | ||
run: gem install fastlane | ||
|
||
- name: Run iOS unit tests | ||
run: bundle exec fastlane tests | ||
|
||
- name: Run iOS e2e tests | ||
run: bundle exec fastlane ios_e2e_tests | ||
timeout-minutes: 45 | ||
|
||
|
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