Skip to content

Commit

Permalink
Added workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyome22 committed Jul 6, 2022
1 parent 0157153 commit 61a3850
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/dispatch-task.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Dispatch Workflow

on:
workflow_dispatch:

jobs:
run-unit-test:
name: Run Unit Test
runs-on: macos-12
timeout-minutes: 30
env:
DEVELOPER_DIR: "/Applications/Xcode_13.4.1.app/Contents/Developer"

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Show Xcode Version
run: xcodebuild -version

- name: Run SourcePackagesParserTests
run: |
xcodebuild -scheme spp test \
-destination "platform=macOS,arch=x86_64" \
-resultBundlePath SourcePackagesParserTests | \
xcpretty
- name: Run LicenseListTests
run: |
xcodebuild -scheme LicenseList-Package test \
-destination "platform=iOS Simulator,name=iPhone 13,OS=15.5" \
-resultBundlePath LicenseListTests | \
xcpretty
- name: Archive test results
if: success() || failure()
uses: kishikawakatsumi/[email protected]
with:
path: |
SourcePackagesParserTests.xcresult
LicenseListTests.xcresult

0 comments on commit 61a3850

Please sign in to comment.