mirror of https://github.com/lukechilds/damus.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
749 B
31 lines
749 B
name: Run Test Suite
|
|
run-name: Testing ${{ github.ref }} by @${{ github.actor }}
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "master"
|
|
pull_request:
|
|
branches:
|
|
- "*"
|
|
|
|
|
|
jobs:
|
|
run_tests:
|
|
runs-on: macos-12
|
|
strategy:
|
|
matrix:
|
|
include:
|
|
- xcode: "14.2"
|
|
ios: "16.2"
|
|
|
|
name: Test iOS (${{ matrix.ios }})
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v1
|
|
- name: Select Xcode
|
|
uses: maxim-lobanov/setup-xcode@v1
|
|
with:
|
|
xcode-version: ${{ matrix.xcode }}
|
|
- name: Run Tests
|
|
run: xcodebuild test -scheme damus -project damus.xcodeproj -destination 'platform=iOS Simulator,name=iPhone 14,OS=${{ matrix.ios }}' | xcpretty && exit ${PIPESTATUS[0]}
|