|
1 | | -# Ensures certain packages work on simulators |
2 | | -name: Test Simulators |
| 1 | +# # Ensures certain packages work on simulators |
| 2 | +# name: Test Simulators |
| 3 | +# on: |
| 4 | +# push: |
3 | 5 |
|
4 | | -on: |
5 | | - push: |
| 6 | +# jobs: |
| 7 | +# test: |
| 8 | +# name: Test Simulators |
| 9 | +# runs-on: macOS-15 |
6 | 10 |
|
7 | | -jobs: |
8 | | - test: |
9 | | - name: Test Simulators |
10 | | - runs-on: macOS-15 |
| 11 | +# steps: |
| 12 | +# - uses: actions/checkout@v4 |
| 13 | +# with: |
| 14 | +# persist-credentials: false |
11 | 15 |
|
12 | | - steps: |
13 | | - - uses: actions/checkout@v4 |
14 | | - with: |
15 | | - persist-credentials: false |
| 16 | +# - name: CocoaPods Cache |
| 17 | +# uses: actions/cache@v3 |
| 18 | +# id: cocoapods-cache |
| 19 | +# with: |
| 20 | +# path: | |
| 21 | +# tools/powersynctests/ios/Pods/* |
| 22 | +# key: ${{ runner.os }}-${{ hashFiles('tools/powersynctests/ios/Podfile.lock') }} |
16 | 23 |
|
17 | | - - name: CocoaPods Cache |
18 | | - uses: actions/cache@v3 |
19 | | - id: cocoapods-cache |
20 | | - with: |
21 | | - path: | |
22 | | - tools/powersynctests/ios/Pods/* |
23 | | - key: ${{ runner.os }}-${{ hashFiles('tools/powersynctests/ios/Podfile.lock') }} |
| 24 | +# - name: Setup NodeJS |
| 25 | +# uses: actions/setup-node@v4 |
| 26 | +# with: |
| 27 | +# node-version-file: '.nvmrc' |
24 | 28 |
|
25 | | - - name: Setup NodeJS |
26 | | - uses: actions/setup-node@v4 |
27 | | - with: |
28 | | - node-version-file: '.nvmrc' |
| 29 | +# - uses: pnpm/action-setup@v2 |
| 30 | +# name: Install pnpm |
| 31 | +# with: |
| 32 | +# version: 9 |
| 33 | +# run_install: false |
29 | 34 |
|
30 | | - - uses: pnpm/action-setup@v2 |
31 | | - name: Install pnpm |
32 | | - with: |
33 | | - version: 9 |
34 | | - run_install: false |
| 35 | +# - name: Get pnpm store directory |
| 36 | +# shell: bash |
| 37 | +# run: | |
| 38 | +# echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV |
35 | 39 |
|
36 | | - - name: Get pnpm store directory |
37 | | - shell: bash |
38 | | - run: | |
39 | | - echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV |
| 40 | +# - uses: actions/cache@v3 |
| 41 | +# name: Setup pnpm cache |
| 42 | +# with: |
| 43 | +# path: ${{ env.STORE_PATH }} |
| 44 | +# key: ${{ runner.os }}-pnpm-store-${{ hashFiles('pnpm-lock.yaml') }} |
| 45 | +# restore-keys: | |
| 46 | +# ${{ runner.os }}-pnpm-store- |
40 | 47 |
|
41 | | - - uses: actions/cache@v3 |
42 | | - name: Setup pnpm cache |
43 | | - with: |
44 | | - path: ${{ env.STORE_PATH }} |
45 | | - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('pnpm-lock.yaml') }} |
46 | | - restore-keys: | |
47 | | - ${{ runner.os }}-pnpm-store- |
| 48 | +# - name: Install dependencies |
| 49 | +# run: pnpm install |
48 | 50 |
|
49 | | - - name: Install dependencies |
50 | | - run: pnpm install |
| 51 | +# - name: Build |
| 52 | +# run: pnpm build:packages |
51 | 53 |
|
52 | | - - name: Build |
53 | | - run: pnpm build:packages |
| 54 | +# - name: Install Detox dependencies |
| 55 | +# run: | |
| 56 | +# brew tap wix/brew |
| 57 | +# brew install applesimutils |
| 58 | +# npm install -g detox-cli |
| 59 | +# detox clean-framework-cache && detox build-framework-cache |
54 | 60 |
|
55 | | - - name: Install Detox dependencies |
56 | | - run: | |
57 | | - brew tap wix/brew |
58 | | - brew install applesimutils |
59 | | - npm install -g detox-cli |
60 | | - detox clean-framework-cache && detox build-framework-cache |
| 61 | +# - name: Install CocoaPods dependencies |
| 62 | +# working-directory: tools/powersynctests/ios |
| 63 | +# run: pod install |
61 | 64 |
|
62 | | - - name: Install CocoaPods dependencies |
63 | | - working-directory: tools/powersynctests/ios |
64 | | - run: pod install |
| 65 | +# - name: iOS Simulator Build |
| 66 | +# working-directory: ./tools/powersynctests |
| 67 | +# run: pnpx detox build --configuration ios.sim.release |
65 | 68 |
|
66 | | - - name: iOS Simulator Build |
67 | | - working-directory: ./tools/powersynctests |
68 | | - run: pnpx detox build --configuration ios.sim.release |
69 | | - |
70 | | - - name: iOS Simulator Test |
71 | | - working-directory: ./tools/powersynctests |
72 | | - run: pnpx detox test --configuration ios.sim.release --cleanup |
| 69 | +# - name: iOS Simulator Test |
| 70 | +# working-directory: ./tools/powersynctests |
| 71 | +# run: pnpx detox test --configuration ios.sim.release --cleanup |
0 commit comments