Skip to content

Commit

Permalink
Add automated test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewrfennell committed Jan 19, 2025
1 parent 5245a5c commit 101976a
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Run automated tests

on:
pull_request:
branches:
- develop
- beta
- stable
push:
branches:
- develop

permissions: {}

jobs:
run_tests:
runs-on: macos-latest
name: Run automated tests
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Build rust
run: ./rust/build-rust.sh
- name: Install pods
working-directory: Monal
run: pod install --repo-update
- name: Run tests
working-directory: Monal
run: |
set -o pipefail && \
NSUnbufferedIO=YES xcodebuild \
-workspace Monal.xcworkspace \
-scheme Monal \
-destination 'platform=iOS Simulator,name=iPhone 16,OS=latest' \
test \
2>&1 | \
xcbeautify --renderer github-actions

0 comments on commit 101976a

Please sign in to comment.