damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

run-tests.yaml (762B)


      1 name: Run Test Suite 
      2 run-name: Testing ${{ github.ref }} by @${{ github.actor }}
      3 
      4 on:
      5   push:
      6     branches:
      7       - "master"
      8       - "ci"
      9   pull_request:
     10     branches:
     11       - "*"
     12 
     13 
     14 jobs:
     15   run_tests:
     16     runs-on: macos-12
     17     strategy:
     18       matrix:
     19         include:
     20           - xcode: "14.2"
     21             ios: "16.2"
     22     
     23     name: Test iOS (${{ matrix.ios }})
     24     steps:
     25       - name: Checkout
     26         uses: actions/checkout@v1
     27       - name: Select Xcode
     28         uses: maxim-lobanov/setup-xcode@v1
     29         with:
     30           xcode-version: ${{ matrix.xcode }}
     31       - name: Run Tests 
     32         run: xcodebuild test -scheme damus -project damus.xcodeproj -destination 'platform=iOS Simulator,name=iPhone 14,OS=${{ matrix.ios }}' | xcpretty && exit ${PIPESTATUS[0]}