From eb1099a3a00bfcf5b3378b7c61bd236e9e60fed3 Mon Sep 17 00:00:00 2001 From: Matt Czech Date: Tue, 24 Sep 2019 14:00:45 -0500 Subject: [PATCH] Add GitHub Action for running tests --- .github/workflows/run_tests.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/run_tests.yml diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml new file mode 100644 index 0000000..cc5f402 --- /dev/null +++ b/.github/workflows/run_tests.yml @@ -0,0 +1,16 @@ +on: pull_request +name: Run Tests +jobs: + test: + name: Test + runs-on: macOS-latest + steps: + - name: Checkout + uses: actions/checkout@master + - name: Build and Test + run: | + xcodebuild \ + -destination 'platform=iOS Simulator,name=iPhone 8,OS=12.4' \ + -workspace Sheets.xcworkspace \ + -scheme Sheets \ + clean test | xcpretty