Skip to content

Commit

Permalink
Merge pull request #9 from nayanda1/ci/test-script
Browse files Browse the repository at this point in the history
Added github actions for Unit Test
  • Loading branch information
Devin-Kp authored Dec 21, 2020
2 parents 8f5f987 + d6b0b9b commit 39c3109
Show file tree
Hide file tree
Showing 114 changed files with 3,270 additions and 2,978 deletions.
8 changes: 8 additions & 0 deletions .github/scripts/test_lib.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

set -eo pipefail

xcodebuild -workspace Example/iONess.xcworkspace \
-scheme iONess-Example \
-destination platform=iOS\ Simulator,OS=14.3,name=iPhone\ 11 \
clean test | xcpretty
19 changes: 19 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: test

on:
pull_request:
branches:
- main
workflow_dispatch:

jobs:
test:
name: Testing Pod
runs-on: macOS-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v1
- name: Force XCode 12.3
run: sudo xcode-select -switch /Applications/Xcode_12.3.app
- name: Testing Pod Library
run: bash ./.github/scripts/test_lib.sh
4 changes: 2 additions & 2 deletions Example/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ target 'iONess_Example' do
target 'iONess_Tests' do
inherit! :search_paths

pod 'Quick', '~> 1.2.0'
pod 'Nimble', '~> 7.0'
pod 'Quick', '~> 3.0.0'
pod 'Nimble', '~> 9.0.0'
end
end
20 changes: 10 additions & 10 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
PODS:
- iONess (0.1.0)
- Nimble (7.3.4)
- Quick (1.2.0)
- iONess (1.2.2)
- Nimble (9.0.0)
- Quick (3.0.0)

DEPENDENCIES:
- iONess (from `../`)
- Nimble (~> 7.0)
- Quick (~> 1.2.0)
- Nimble (~> 9.0.0)
- Quick (~> 3.0.0)

SPEC REPOS:
trunk:
Expand All @@ -18,10 +18,10 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
iONess: ec0f857e3c20fbc10e6b5a805bc9f9c4ac7a0e0a
Nimble: 051e3d8912d40138fa5591c78594f95fb172af37
Quick: 58d203b1c5e27fff7229c4c1ae445ad7069a7a08
iONess: cc5ae19bd12d5c50bc6128746f3448474aa109cc
Nimble: 3b4ec3fd40f1dc178058e0981107721c615643d8
Quick: 6d9559f40647bc4d510103842ef2fdd882d753e2

PODFILE CHECKSUM: 3b5c23e7f0799d3808b35d845bac59a57d70e2a5
PODFILE CHECKSUM: 8144533663cf8b140228454000f3f11dde5ede15

COCOAPODS: 1.10.0.rc.1
COCOAPODS: 1.10.0
18 changes: 10 additions & 8 deletions Example/Pods/Local Podspecs/iONess.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 39c3109

Please sign in to comment.