-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/ALTAPPS-498/Local_logging
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 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,40 @@ | ||
name: iOS Unit Testing | ||
|
||
on: | ||
workflow_dispatch: | ||
# Runs at 00:00 UTC every day | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
concurrency: | ||
group: ${{ github.workflow }} | ||
cancel-in-progress: true | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
test: | ||
name: Run iOS unit tests | ||
runs-on: macos-13 | ||
timeout-minutes: 60 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Setup CI | ||
id: setup | ||
uses: ./.github/actions/setup-ios | ||
with: | ||
git-crypt-key: ${{ secrets.GIT_CRYPT_KEY }} | ||
|
||
- name: Run unit tests | ||
working-directory: './iosHyperskillApp' | ||
run: bundle exec fastlane run_unit_tests install_pods:false | ||
env: | ||
FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 60 | ||
IS_GIT_CRYPT_UNLOCKED: ${{ steps.setup.outputs.is-git-crypt-unlocked }} | ||
GITHUB_USER: ${{ github.actor }} | ||
GITHUB_PERSONAL_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} |