Skip to content

Commit

Permalink
Create ci-snapshots.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zhgchgli0718 authored Feb 18, 2024
1 parent 8bdd0a3 commit 6a83f77
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci-snapshots.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI Snapshots

on:
workflow_dispatch:

jobs:
build:
runs-on: macos-13
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.2'
- uses: actions/checkout@v3
- name: iOS build and test
run: |
set -o pipefail
xcodebuild test -workspace ZMarkupParser.xcworkspace -testPlan ZMarkupParser -scheme ZMarkupParser -enableCodeCoverage YES -resultBundlePath './scripts/TestResult.xcresult' -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.0.1' build test | xcpretty
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "commit snapshots changed"
commit_user_name: "ZhgChgLi"
commit_user_email: "zhgchgli@gmail.com"
commit_author: ZhgChgLi <zhgchgli@gmail.com>

0 comments on commit 6a83f77

Please sign in to comment.