Skip to content

Commit

Permalink
feat: simplify CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
metalurgical committed Sep 21, 2023
1 parent 206ae41 commit 379f6b4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,26 @@ on:
push:
branches:
- main
- alpha
pull_request:
types:
- opened
- reopened
- synchronize

jobs:
test:
runs-on: macos-latest
build:
runs-on: macOS-latest
strategy:
matrix:
platform:
- iOS
steps:
- name: checkout
uses: actions/checkout@v3
- name: xcode
uses: maxim-lobanov/setup-xcode@v1
- uses: actions/[email protected]
- uses: mxcl/xcodebuild@v1
with:
xcode-version: "14.2.0"
- name: package
run: xcodebuild test -scheme Web3SwiftMpcProvider -destination "platform=iOS Simulator,OS=16.2,name=iPhone 14" COMPILER_INDEX_STORE_ENABLE=NO
- name: SwiftLint
run: swiftlint lint ./Sources --reporter github-actions-logging
platform: ${{ matrix.platform }}
action: test
scheme: Web3SwiftMpcProvider
code-coverage: true
upload-logs: always
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,4 @@ fastlane/test_output
iOSInjectionProject/
.idea
.DS_Store
.DS_Store

0 comments on commit 379f6b4

Please sign in to comment.