Skip to content

Commit

Permalink
Tweak CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed Apr 5, 2024
1 parent 27629a7 commit b5bbcd0
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions .github/workflows/react-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,26 @@ jobs:
ruby-version: 3.1.2
bundler-cache: true

- name: Cache CocoaPods
id: cache-cocoapods
uses: actions/cache@v3
with:
path: ../react-native-prisma/example/ios/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('../react-native-prisma/example/ios/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
# - name: Cache CocoaPods
# id: cache-cocoapods
# uses: actions/cache@v3
# with:
# path: ../react-native-prisma/example/ios/Pods
# key: ${{ runner.os }}-pods-${{ hashFiles('../react-native-prisma/example/ios/Podfile.lock') }}
# restore-keys: |
# ${{ runner.os }}-pods-

- name: Install CocoaPods
working-directory: ../react-native-prisma/example/ios
if: steps.cache-cocoapods.outputs.cache-hit != 'true'
run: pod install

- name: start simulator in release mode
working-directory: ../react-native-prisma/example
run: yarn ios:release

- name: Run E2E tests
run: |
make build-driver-adapters-kit
make dev-react-native
cargo test -p query-engine-tests -- --test-threads=1

0 comments on commit b5bbcd0

Please sign in to comment.