feat(Widget): move Widget related logic to its own module #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Swift Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: macOS-12 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: xcodebuild -scheme telltime-Package -destination "platform=iOS Simulator,name=iPhone 14 Pro" | |
- name: Run test | |
run: xcodebuild test -scheme telltime-Package -destination "platform=iOS Simulator,name=iPhone 14 Pro" | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: failed-screenshots | |
path: '~/Library/Developer/CoreSimulator/Devices/*/data/tmp/*Tests' | |
retention-days: 5 |