Skip to content

Commit b25cb08

Browse files
authored
Create run-tests.yml (#3)
* Create run-tests.yml * Fixed test workflow --------- Co-authored-by: Alex Guretzki <alexander.guretzki@adyen.com>
1 parent 10fe5ac commit b25cb08

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

.github/workflows/run-tests.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Detect public API changes
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
7+
jobs:
8+
9+
build:
10+
runs-on: macos-14 # Apple Silicon Runner
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: n1hility/cancel-previous-runs@v3
15+
with:
16+
token: ${{ secrets.GITHUB_TOKEN }}
17+
18+
- name: Select latest Xcode
19+
uses: maxim-lobanov/setup-xcode@v1
20+
with:
21+
xcode-version: '15.1'
22+
23+
- name: 🛠️ Run Tests
24+
run: |
25+
xcodebuild test -scheme public-api-diff -destination "platform=iOS,name=Any iOS Device" | xcpretty --utf --color && exit

Package.resolved

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)