Skip to content

Commit 54f7bb9

Browse files
committed
Added cache, running tests on sim.
1 parent 06e6bfe commit 54f7bb9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/test-simulators.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,19 @@ jobs:
1414
with:
1515
persist-credentials: false
1616

17+
- uses: irgaly/xcode-cache@v1
18+
with:
19+
key: xcode-cache-deriveddata-${{ github.workflow }}-${{ github.sha }}
20+
restore-keys: xcode-cache-deriveddata-${{ github.workflow }}-
21+
22+
- name: CocoaPods Cache
23+
uses: actions/cache@v3
24+
id: cocoapods-cache
25+
with:
26+
path: |
27+
tools/powersynctests/ios/Pods/*
28+
key: ${{ runner.os }}-${{ hashFiles('tools/powersynctests/ios/Podfile.lock') }}
29+
1730
- name: Setup NodeJS
1831
uses: actions/setup-node@v4
1932
with:
@@ -58,3 +71,7 @@ jobs:
5871
- name: iOS Simulator Build
5972
working-directory: ./tools/powersynctests
6073
run: pnpx detox build --configuration ios.sim.release
74+
75+
- name: iOS Simulator Test
76+
working-directory: ./tools/powersynctests
77+
run: pnpx detox test --configuration ios.sim.debug

0 commit comments

Comments
 (0)