Skip to content

Remove xcpretty command #128

Remove xcpretty command

Remove xcpretty command #128

Workflow file for this run

name: Testing
on: [push, pull_request]
jobs:
test:
name: Testing SketchKit
runs-on: macos-13
strategy:
matrix:
scheme: [
SketchKit
]
destination: [
'platform=iOS Simulator,name=iPhone 15 Pro,OS=17.0.1'
]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Xcode version
uses: maxim-lobanov/[email protected]
with:
xcode-version: 15.0.1
- name: Set up Ruby 3.1.2
uses: ruby/[email protected]
with:
ruby-version: 3.1.2
bundler-cache: true
- name: Danger action
uses: MeilCli/[email protected]
if: github.event_name == 'pull_request'
with:
plugins_file: 'Gemfile'
install_path: 'vendor/bundle'
danger_file: 'Dangerfile'
danger_id: 'danger-pr'
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Test ${{ matrix.scheme }} on ${{ matrix.destination }}
run: |
xcodebuild -scheme ${{ matrix.scheme }} \
-sdk iphonesimulator \
-destination '${{ matrix.destination }}' \
-enableCodeCoverage YES \
test
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
swift: true
swift_project: SketchKit
verbose: true