Skip to content

Commit

Permalink
Don't try testing all. Report env on test & coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jonreid committed Apr 7, 2021
1 parent 214447e commit e7b7b4e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# uses: pod spec lint --quick

build:
name: Test
name: Build
runs-on: macos-latest
strategy:
matrix:
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Show Available Destinations
run: xcodebuild -project Source/OCHamcrest.xcodeproj -scheme '${{ matrix.run-config['scheme'] }}' -showdestinations
- name: Build
run: xcodebuild clean test -project Source/OCHamcrest.xcodeproj -scheme '${{ matrix.run-config['scheme'] }}' -sdk '${{ matrix.run-config['sdk'] }}' -destination '${{ matrix.run-config['destination'] }}' -showBuildTimingSummary | xcpretty
run: xcodebuild build test -project Source/OCHamcrest.xcodeproj -scheme '${{ matrix.run-config['scheme'] }}' -sdk '${{ matrix.run-config['sdk'] }}' -destination '${{ matrix.run-config['destination'] }}' -showBuildTimingSummary | xcpretty

test:
name: Test & Coverage
Expand All @@ -42,6 +42,12 @@ jobs:
uses: actions/checkout@v2
- name: Show current version of Xcode
run: xcode-select -p
- name: Show Build Settings
run: xcodebuild -project Source/OCHamcrest.xcodeproj -scheme 'OCHamcrest' -showBuildSettings
- name: Show Build SDK
run: xcodebuild -project Source/OCHamcrest.xcodeproj -scheme 'OCHamcrest' -showsdks
- name: Show Available Destinations
run: xcodebuild -project Source/OCHamcrest.xcodeproj -scheme 'OCHamcrest' -showdestinations
- name: Build & test
run: xcodebuild test -project Source/OCHamcrest.xcodeproj -scheme OCHamcrest -sdk macosx | xcpretty
- name: Install gems
Expand Down

0 comments on commit e7b7b4e

Please sign in to comment.