-
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.
Merge pull request #7 from opennetltd/misc-improvements
Misc improvements
- Loading branch information
Showing
19 changed files
with
58 additions
and
1,664 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,57 @@ | ||
name: Tests | ||
|
||
on: [push] | ||
on: | ||
push: | ||
pull_request: | ||
branches: | ||
- "**:**" # PRs from forks have a prefix with `owner:` | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
xcode_tests: | ||
name: Tests | ||
runs-on: macos-latest | ||
name: ${{ matrix.platform }} Tests (Xcode ${{ matrix.xcode }}) | ||
runs-on: macos-13 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- xcode: "14.2" | ||
destination: "platform=iOS Simulator,name=iPhone 14,OS=16.2" | ||
- xcode: "14.2" | ||
destination: "platform=iOS Simulator,name=iPhone 14,OS=17.0.1" | ||
- xcode: "15.2" | ||
destination: "platform=iOS Simulator,name=iPhone 14,OS=17.2" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Select Xcode ${{ matrix.xcode }} | ||
run: sudo xcode-select --switch /Applications/Xcode_${{ matrix.xcode }}.app | ||
|
||
- name: Install Mint | ||
run: brew install mint | ||
|
||
- name: Cache Mint | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.mint | ||
key: ${{ runner.os }}-mint-xcode_${{ matrix.xcode }}-${{ hashFiles('**/Mintfile') }} | ||
restore-keys: | | ||
${{ runner.os }}-mint-xcode_${{ matrix.xcode }} | ||
- run: mint bootstrap | ||
|
||
- name: Cache DerivedData | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/Library/Developer/Xcode/DerivedData | ||
key: ${{ runner.os }}-xcode_${{ matrix.xcode }}-derived_data-${{ github.ref }} | ||
restore-keys: | | ||
${{ runner.os }}-xcode_${{ matrix.xcode }}-derived_data-main | ||
${{ runner.os }}-xcode_${{ matrix.xcode }}-derived_data- | ||
- name: Run Tests | ||
run: swift run --configuration release --skip-update --package-path ./CIDependencies/ xcutils test iOS --scheme Composed --enable-code-coverage | ||
run: set -o pipefail && xcodebuild test -scheme Composed-Package -destination '${{ matrix.destination }}' 2>&1 | $(mint which xcbeautify) --renderer github-actions |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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 @@ | ||
cpisciotta/xcbeautify@1.4.0 |
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
Oops, something went wrong.