Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
[ADD] Added build_package.yml and unit_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaesung Lee committed Apr 14, 2023
1 parent 0cddd67 commit b2bb179
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Swift
name: The Satellite Swift Package Build

on:
push:
Expand All @@ -18,6 +18,3 @@ jobs:
- name: Building...
run: |
xcodebuild build -scheme Satellite -destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=latest'
- name: Testing...
run: |
xcodebuild clean test -scheme Satellite -destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=latest'
21 changes: 21 additions & 0 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: The Satellite Unit Tests

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
name: Run unit tests in SatelliteTests
runs-on: macos-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
swift-version: "5.7.0"
- name: Testing...
run: |
xcodebuild clean test -scheme Satellite -destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=latest'

0 comments on commit b2bb179

Please sign in to comment.