Skip to content

Commit

Permalink
Merge pull request #83 from rive-app/82
Browse files Browse the repository at this point in the history
update ios workflows to runt tests on push / pr to master
  • Loading branch information
mjtalbot authored Jun 28, 2021
2 parents c9e6216 + 5c8406d commit 8443822
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Run Rive tests

on:
push:

jobs:
run_tests:
name: Run Rive tests
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
token: ${{ secrets.RIVE_REPO_PAT }}
submodules: recursive
- name: Testing iOS app
run: sh ./scripts/test.sh
7 changes: 7 additions & 0 deletions scripts/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
set -eo pipefail

# test RiveRuntime on a simulator
xcodebuild -workspace Rive.xcworkspace \
-scheme RiveRuntime \
-destination platform=iOS\ Simulator,name=iPhone\ 11 \
clean test | xcpretty

0 comments on commit 8443822

Please sign in to comment.