-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: Add CI * chore: Remove SwiftyLab/setup-swift * chore: Force Swift 5.10.0 * chore: Update TCA to 1.9.2 * chore: ci * ci: check-latest * wip * wip * wip --------- Co-authored-by: danthorpe <danthorpe@users.noreply.github.com>
- Loading branch information
Showing
4 changed files
with
60 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Tests | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- '.github/**.md' | ||
- 'README.md' | ||
branches: | ||
- main | ||
pull_request: | ||
paths-ignore: | ||
- '.github/**.md' | ||
- 'README.md' | ||
types: [opened, synchronize, reopened, ready_for_review] | ||
|
||
concurrency: | ||
group: ci-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer | ||
|
||
jobs: | ||
test: | ||
name: Tests | ||
runs-on: macos-14 | ||
steps: | ||
- name: Report Swift Version | ||
run: xcrun swift --version | ||
|
||
- name: Checkout Package | ||
uses: actions/checkout@v4 | ||
|
||
- name: Cache SPM | ||
uses: actions/cache@v4 | ||
with: | ||
path: .build | ||
key: v1-${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }} | ||
restore-keys: | | ||
v1-${{ runner.os }}-spm- | ||
- name: Test | ||
run: make test-all |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
CONFIG = debug | ||
PLATFORM_IOS = iOS Simulator,id=$(call udid_for,iOS 17.2,iPhone \d\+ Pro [^M]) | ||
PLATFORM_MACOS = macOS | ||
PLATFORM_MAC_CATALYST = macOS,variant=Mac Catalyst | ||
PLATFORM_TVOS = tvOS Simulator,id=$(call udid_for,tvOS 17.2,TV) | ||
PLATFORM_VISIONOS = visionOS Simulator,id=$(call udid_for,visionOS 1.0,Vision) | ||
PLATFORM_WATCHOS = watchOS Simulator,id=$(call udid_for,watchOS 10.2,Watch) | ||
|
||
default: test-all | ||
|
||
test-all: | ||
swift test |
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
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