Skip to content

Commit

Permalink
Merge branch 'master' of github.com:aporat/KKProgressToolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
aporat committed Feb 8, 2025
2 parents 2333db7 + 41a869b commit c340b6d
Showing 1 changed file with 28 additions and 9 deletions.
37 changes: 28 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,38 @@
name: Tests
name: Swift

on:
push:
branches: [ master ]
branches: [ "master" ]
pull_request:
branches: [ master ]
branches: [ "master" ]

jobs:
build:

name: Swift ${{ matrix.platform }} on ${{ matrix.os }}
runs-on: macos-latest

strategy:
matrix:
platform:
- platform=iPhone 16 Pro Max
- platform=iPhone 16 Pro
os:
- 17.4
- 18.2

steps:
- uses: actions/checkout@v2
- name: Build
run: pod install
- name: Run iOS tests
run: xcodebuild test -workspace KKProgressToolbar.xcworkspace -scheme KKProgressToolbar -destination platform="iOS Simulator,name=iPhone 11 Pro"

# Checkout the repository
- name: Checkout repository
uses: actions/checkout@v4

# Install any dependencies
- name: Install Dependencies
run: swift package resolve

# Run tests on ${{ matrix.platform }} with iOS ${{ matrix.os }}
- name: Run Tests on ${{ matrix.platform }} (iOS ${{ matrix.os }})
run: |
xcodebuild test \
-scheme 'KKProgressToolbar' \
-destination 'platform=iOS Simulator,name=${{ matrix.platform }},OS=${{ matrix.os }}'

0 comments on commit c340b6d

Please sign in to comment.